From 86a4660f08f6a3ffd7585e3a9f99203dc08a0bf4 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 21 Jan 2016 19:35:06 +0000 Subject: [PATCH] const stuff git-svn-id: https://svn.eduke32.com/eduke32@5572 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/build.h | 4 ++-- polymer/eduke32/build/src/engine.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)