mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
mesa: fix inconsistent function declaration, definitions
To silence MSVC warnings that the declaration and definitions were different.
This commit is contained in:
parent
8ba5c79d2c
commit
738337356b
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue