compiler/types: Add void parameter to ensure these are valid C prototypes

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25445>
This commit is contained in:
Caio Oliveira 2023-09-08 11:57:48 -07:00 committed by Marge Bot
parent cc1fac52da
commit 80a1896539

View file

@ -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);