diff --git a/polymer/eduke32/build/include/build.h b/polymer/eduke32/build/include/build.h index 8945853ef..ba0357cca 100644 --- a/polymer/eduke32/build/include/build.h +++ b/polymer/eduke32/build/include/build.h @@ -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); diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 56b515784..451b8b698 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -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)