summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-07-08 09:58:12 -0600
committerBrian Paul <[email protected]>2013-07-12 08:19:49 -0600
commit738337356be7b138af98c01a55279c5a940833d9 (patch)
treeda52450bfbe4c117edae61e647b99396f41c00b8 /src/mesa/main
parent8ba5c79d2c075978947350507e5deb5477eb23ad (diff)
mesa: fix inconsistent function declaration, definitions
To silence MSVC warnings that the declaration and definitions were different.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/hash_table.c4
-rw-r--r--src/mesa/main/set.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/hash_table.c b/src/mesa/main/hash_table.c
index af0510da105..008b4cdbcc0 100644
--- a/src/mesa/main/hash_table.c
+++ b/src/mesa/main/hash_table.c
@@ -110,8 +110,8 @@ entry_is_present(const struct hash_table *ht, struct hash_entry *entry)
struct hash_table *
_mesa_hash_table_create(void *mem_ctx,
- bool key_equals_function(const void *a,
- const void *b))
+ bool (*key_equals_function)(const void *a,
+ const void *b))
{
struct hash_table *ht;
diff --git a/src/mesa/main/set.c b/src/mesa/main/set.c
index 2519b96947a..dc3550c767c 100644
--- a/src/mesa/main/set.c
+++ b/src/mesa/main/set.c
@@ -103,8 +103,8 @@ entry_is_present(struct set_entry *entry)
struct set *
_mesa_set_create(void *mem_ctx,
- bool key_equals_function(const void *a,
- const void *b))
+ bool (*key_equals_function)(const void *a,
+ const void *b))
{
struct set *ht;