mesa: make _mesa_validate_sync() non-static
authorTimothy Arceri <t_arceri@yahoo.com.au>
Mon, 26 Aug 2013 07:45:06 +0000 (17:45 +1000)
committerBrian Paul <brianp@vmware.com>
Wed, 4 Sep 2013 13:47:49 +0000 (07:47 -0600)
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/syncobj.c
src/mesa/main/syncobj.h

index e4264741ae0f5095e9b653b0816a273faaa2620f..92c7cb0e149211c2c7bfc61ebe4831ab03442653 100644 (file)
@@ -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)
index faa3f558dea3d67fcd1ccee05ce292c5b89aa2b4..025a9b132d46fab082f19dcb3fbab1f62e1ba226 100644 (file)
@@ -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);