more constness.
[apps/madmutt.git] / hash.h
diff --git a/hash.h b/hash.h
index 3c072c1..1a4f985 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -27,7 +27,7 @@ typedef struct {
 
 HASH *hash_create (int nelem);
 int hash_string (const unsigned char *s, int n);
-int hash_insert (HASH * table, const char *key, const void *data, int allow_dup);
+int hash_insert (HASH * table, const char *key, void *data, int allow_dup);
 HASH *hash_resize (HASH * table, int nelem);
 void *hash_find_hash (const HASH * table, int hash, const char *key);
 void hash_delete_hash (HASH * table, int hash, const char *key,