From 7056193a4311f09de5e7280ce474aeec88865d2f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 15 Sep 2012 13:02:51 +1000 Subject: [PATCH] glsl: make builtin_mem_ctx a static This isn't used outside the generated file. Reviewed-by: Matt Turner Signed-off-by: Dave Airlie --- src/glsl/builtins/tools/generate_builtins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 86660a9362c..9dc3279dfcc 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -225,7 +225,7 @@ read_builtins(GLenum target, const char *protos, const char **functions, unsigne print 'static gl_shader *builtin_profiles[%d];' % len(profiles) print """ -void *builtin_mem_ctx = NULL; +static void *builtin_mem_ctx = NULL; void _mesa_glsl_release_functions(void) -- 2.30.2