summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 9717589..0bbe93d 100644
--- a/util.h
+++ b/util.h
@@ -64,7 +64,7 @@ struct _hash_table {
hash_table *hash_new(unsigned int length, hash_compare compare);
hash_entry *hash_put(hash_table *hash, hash_entry *entry);
hash_entry *hash_get(hash_table *hash, hash_key *name);
-hash_entry * hash_check(hash_table *hash, char *name, unsigned int length);
+hash_entry * hash_check(hash_table *hash, const char *name, unsigned int length);
void hash_rem(hash_table *hash, hash_entry *entry);
/* Removes from hash table but doesn't release any memory */
hash_entry *hash_rem_no_free(hash_table *hash, hash_entry *entry);