Mesa (master): mesa: add void to format_array_format_table_init() declaration

Brian Paul brianp at kemper.freedesktop.org
Wed Mar 18 15:50:18 UTC 2015


Module: Mesa
Branch: master
Commit: ea1b066a34dccd3bf1fe8bba52a586fff4158601
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea1b066a34dccd3bf1fe8bba52a586fff4158601

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Mar 17 11:50:35 2015 -0600

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 <mattst88 at gmail.com>

---

 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;




More information about the mesa-commit mailing list