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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user