summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-17 11:50:35 -0600
committerBrian Paul <[email protected]>2015-03-18 09:01:50 -0600
commitea1b066a34dccd3bf1fe8bba52a586fff4158601 (patch)
tree20170a60b22ea48898bdf89edb3d20dfc08d3fae /src/mesa/main
parent9fbbd60c1da4467683d93540c64164ad337ce454 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/formats.c2
1 files changed, 1 insertions, 1 deletions
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;