diff options
author | Brian Paul <[email protected]> | 2000-03-21 22:20:42 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-03-21 22:20:42 +0000 |
commit | 9b8094a663f08b50f01e3bcce8d22e4415b253e4 (patch) | |
tree | 0f9b2bcfc7d644f2553a13808d91557910cb9af2 /src | |
parent | 832179c50e2cf5de9735241e4767aea4d6fc33bf (diff) |
removed a few const keywords because of mutex calls
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/hash.c | 6 | ||||
-rw-r--r-- | src/mesa/main/hash.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c index cbd7f551350..17bcd1c5f3e 100644 --- a/src/mesa/main/hash.c +++ b/src/mesa/main/hash.c @@ -1,4 +1,4 @@ -/* $Id: hash.c,v 1.8 2000/03/21 17:42:27 brianp Exp $ */ +/* $Id: hash.c,v 1.9 2000/03/21 22:20:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -206,7 +206,7 @@ void _mesa_HashRemove(struct _mesa_HashTable *table, GLuint key) * This is used in the course of deleting all display lists when * a context is destroyed. */ -GLuint _mesa_HashFirstEntry(const struct _mesa_HashTable *table) +GLuint _mesa_HashFirstEntry(struct _mesa_HashTable *table) { GLuint pos; assert(table); @@ -247,7 +247,7 @@ void _mesa_HashPrint(const struct _mesa_HashTable *table) * numKeys - number of keys needed * Return: starting key of free block or 0 if failure */ -GLuint _mesa_HashFindFreeKeyBlock(const struct _mesa_HashTable *table, GLuint numKeys) +GLuint _mesa_HashFindFreeKeyBlock(struct _mesa_HashTable *table, GLuint numKeys) { GLuint maxKey = ~((GLuint) 0); _glthread_LOCK_MUTEX(table->Mutex); diff --git a/src/mesa/main/hash.h b/src/mesa/main/hash.h index 32adf52dd54..90659c81b41 100644 --- a/src/mesa/main/hash.h +++ b/src/mesa/main/hash.h @@ -1,4 +1,4 @@ -/* $Id: hash.h,v 1.3 2000/01/24 16:19:54 brianp Exp $ */ +/* $Id: hash.h,v 1.4 2000/03/21 22:20:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -46,11 +46,11 @@ extern void _mesa_HashInsert(struct _mesa_HashTable *table, GLuint key, void *da extern void _mesa_HashRemove(struct _mesa_HashTable *table, GLuint key); -extern GLuint _mesa_HashFirstEntry(const struct _mesa_HashTable *table); +extern GLuint _mesa_HashFirstEntry(struct _mesa_HashTable *table); extern void _mesa_HashPrint(const struct _mesa_HashTable *table); -extern GLuint _mesa_HashFindFreeKeyBlock(const struct _mesa_HashTable *table, GLuint numKeys); +extern GLuint _mesa_HashFindFreeKeyBlock(struct _mesa_HashTable *table, GLuint numKeys); #endif |