const stuff

git-svn-id: https://svn.eduke32.com/eduke32@5572 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-01-21 19:35:06 +00:00
parent 39b9a77581
commit 86a4660f08
2 changed files with 4 additions and 4 deletions

View file

@ -1423,8 +1423,8 @@ typedef struct
void hash_init(hashtable_t *t);
void hash_loop(hashtable_t *t, void (*func)(const char *, intptr_t));
void hash_free(hashtable_t *t);
intptr_t hash_findcase(const hashtable_t *t, const char *s);
intptr_t hash_find(const hashtable_t *t, const char *s);
intptr_t hash_findcase(hashtable_t const * const t, char const * const s);
intptr_t hash_find(hashtable_t const * const t, char const * const s);
void hash_add(hashtable_t *t, const char *s, intptr_t key, int32_t replace);
void hash_delete(hashtable_t *t, const char *s);

View file

@ -18504,7 +18504,7 @@ void hash_delete(hashtable_t *t, const char *s)
while ((cur = cur->next));
}
intptr_t hash_find(const hashtable_t *t, const char *s)
intptr_t hash_find(const hashtable_t * const t, char const * const s)
{
if (t->items == NULL)
{
@ -18525,7 +18525,7 @@ intptr_t hash_find(const hashtable_t *t, const char *s)
return -1;
}
intptr_t hash_findcase(const hashtable_t *t, const char *s)
intptr_t hash_findcase(const hashtable_t * const t, char const * const s)
{
if (t->items == NULL)