projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81828c
)
glsl: Add void to _mesa_destroy_shader_compiler() argument list.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 25 Mar 2011 16:00:11 +0000
(16:00 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 25 Mar 2011 16:22:34 +0000
(16:22 +0000)
At least MSVC sees a distinction between foo() and foo(void) and warns
about it.
src/glsl/glsl_parser_extras.h
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_parser_extras.h
b/src/glsl/glsl_parser_extras.h
index b5c016fb3995e1be598b9569322dcdf1d372b94e..6df0e160ae382ef360060550ea7010cd62a618e9 100644
(file)
--- 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
}