From 21b5bf712b47e03d21dfa2c93acb272b9b575fe7 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 26 Aug 2013 17:45:06 +1000 Subject: mesa: make _mesa_validate_sync() non-static Signed-off-by: Timothy Arceri Reviewed-by: Brian Paul --- 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 e4264741ae0..92c7cb0e149 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 faa3f558dea..025a9b132d4 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); -- cgit v1.2.3