[Mesa-dev] [PATCH 09/15] mesa: make _mesa_validate_sync() non-static

Timothy Arceri t_arceri at yahoo.com.au
Mon Aug 26 03:43:51 PDT 2013


Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
---
 src/mesa/main/syncobj.c |    2 +-
 src/mesa/main/syncobj.h |    3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c
index e426474..92c7cb0 100644
--- a/src/mesa/main/syncobj.c
+++ b/src/mesa/main/syncobj.c
@@ -161,7 +161,7 @@ _mesa_free_sync_data(struct gl_context *ctx)
 }
 
 
-static int
+int
 _mesa_validate_sync(struct gl_context *ctx, struct gl_sync_object *syncObj)
 {
    return (syncObj != NULL)
diff --git a/src/mesa/main/syncobj.h b/src/mesa/main/syncobj.h
index faa3f55..025a9b1 100644
--- a/src/mesa/main/syncobj.h
+++ b/src/mesa/main/syncobj.h
@@ -53,6 +53,9 @@ _mesa_ref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj);
 extern void
 _mesa_unref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj);
 
+extern int
+_mesa_validate_sync(struct gl_context *ctx, struct gl_sync_object *syncObj);
+
 extern GLboolean GLAPIENTRY
 _mesa_IsSync(GLsync sync);
 
-- 
1.7.9.5



More information about the mesa-dev mailing list