summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-03-25 16:00:11 +0000
committerJosé Fonseca <[email protected]>2011-03-25 16:22:34 +0000
commit28f1d6ab4913a9e37cacc7e903f8ce04bb3c8e1c (patch)
treeb4021622c1206fe1f419d31e4850eb28ba208a5c /src
parenta81828cb962e747644dd5b479179cd4f55932c1e (diff)
glsl: Add void to _mesa_destroy_shader_compiler() argument list.
At least MSVC sees a distinction between foo() and foo(void) and warns about it.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/glsl_parser_extras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
index b5c016fb399..6df0e160ae3 100644
--- a/src/glsl/glsl_parser_extras.h
+++ b/src/glsl/glsl_parser_extras.h
@@ -268,8 +268,8 @@ extern "C" {
extern int preprocess(void *ctx, const char **shader, char **info_log,
const struct gl_extensions *extensions, int api);
-extern void _mesa_destroy_shader_compiler();
-extern void _mesa_destroy_shader_compiler_caches();
+extern void _mesa_destroy_shader_compiler(void);
+extern void _mesa_destroy_shader_compiler_caches(void);
#ifdef __cplusplus
}