summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/hash.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-16 08:21:38 -0700
committerBrian Paul <[email protected]>2010-02-16 08:21:38 -0700
commit107a2ec9eef53dee038c1bcc0d956c5667e0b68f (patch)
tree46b293cc595c15d73792ebf887d02e78f73767c4 /src/mesa/main/hash.h
parent693f4af63dd98b963e91259029cc0131b791721c (diff)
mesa: Lock mutex around _mesa_HashLookup linked list chase.
Remove const qualifier from _mesa_HashLookup() table parameter to avoid LOCK/UNLOCK warnings in the function body. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a)
Diffstat (limited to 'src/mesa/main/hash.h')
-rw-r--r--src/mesa/main/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/hash.h b/src/mesa/main/hash.h
index d18db76abe1..4f916f9d01f 100644
--- a/src/mesa/main/hash.h
+++ b/src/mesa/main/hash.h
@@ -39,7 +39,7 @@ extern struct _mesa_HashTable *_mesa_NewHashTable(void);
extern void _mesa_DeleteHashTable(struct _mesa_HashTable *table);
-extern void *_mesa_HashLookup(const struct _mesa_HashTable *table, GLuint key);
+extern void *_mesa_HashLookup(struct _mesa_HashTable *table, GLuint key);
extern void _mesa_HashInsert(struct _mesa_HashTable *table, GLuint key, void *data);