From: Brian Paul Date: Tue, 17 Mar 2015 17:50:35 +0000 (-0600) Subject: mesa: add void to format_array_format_table_init() declaration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea1b066a34dccd3bf1fe8bba52a586fff4158601;p=mesa.git mesa: add void to format_array_format_table_init() declaration Silences an MSVC warning where it's called from call_once(). Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 422c9dc46eb..2bc8bcad90b 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -388,7 +388,7 @@ array_formats_equal(const void *a, const void *b) } static void -format_array_format_table_init() +format_array_format_table_init(void) { const struct gl_format_info *info; mesa_array_format array_format;