[Mesa-dev] [PATCH 1/2] mesa: add void to format_array_format_table_init() declaration

Brian Paul brianp at vmware.com
Tue Mar 17 19:34:19 PDT 2015


Silences an MSVC warning where it's called from call_once().
---
 src/mesa/main/formats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index 422c9dc..2bc8bca 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;
-- 
1.9.1



More information about the mesa-dev mailing list