Module: Mesa Branch: main Commit: 80a1896539b1e82c63896b63add36dba001e9e41 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80a1896539b1e82c63896b63add36dba001e9e41
Author: Caio Oliveira <[email protected]> Date: Fri Sep 8 11:57:48 2023 -0700 compiler/types: Add void parameter to ensure these are valid C prototypes Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Emma Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25445> --- src/compiler/glsl_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h index 4ccbf97b484..562bc8d6dee 100644 --- a/src/compiler/glsl_types.h +++ b/src/compiler/glsl_types.h @@ -45,10 +45,10 @@ struct _mesa_glsl_parse_state; struct glsl_symbol_table; extern void -glsl_type_singleton_init_or_ref(); +glsl_type_singleton_init_or_ref(void); extern void -glsl_type_singleton_decref(); +glsl_type_singleton_decref(void); extern void _mesa_glsl_initialize_types(struct _mesa_glsl_parse_state *state);
