From: José Fonseca Date: Fri, 25 Mar 2011 16:00:11 +0000 (+0000) Subject: glsl: Add void to _mesa_destroy_shader_compiler() argument list. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28f1d6ab4913a9e37cacc7e903f8ce04bb3c8e1c;p=mesa.git 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. --- 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 }