aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hash.h b/lib/hash.h
index e0b826304..03c771a47 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -45,7 +45,7 @@ typedef struct _curl_hash_element {
} curl_hash_element;
-void Curl_hash_init(curl_hash *, int, curl_hash_dtor);
+int Curl_hash_init(curl_hash *, int, curl_hash_dtor);
curl_hash *Curl_hash_alloc(int, curl_hash_dtor);
int Curl_hash_add(curl_hash *, char *, size_t, const void *);
int Curl_hash_delete(curl_hash *h, char *key, size_t key_len);