mesa: add void to format_array_format_table_init() declaration
authorBrian Paul <brianp@vmware.com>
Tue, 17 Mar 2015 17:50:35 +0000 (11:50 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Mar 2015 15:01:50 +0000 (09:01 -0600)
Silences an MSVC warning where it's called from call_once().

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/formats.c

index 422c9dc46eba0f35e1c329d17c519756823ff82c..2bc8bcad90b869489e9f0a5c175f8e178e76a962 100644 (file)
@@ -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;