From 92709a773c5555d8097f72a69e21cff817f46e37 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Mon, 28 Sep 2015 14:31:48 +0300 Subject: [PATCH] hash: fixed hash_new() prototype --- src/hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hash.h b/src/hash.h index 54d10d0..55892d5 100644 --- a/src/hash.h +++ b/src/hash.h @@ -22,7 +22,7 @@ typedef void (*hash_free_func)(const xmpp_ctx_t * const ctx, void *p); /** allocate and initialize a new hash table */ hash_t *hash_new(xmpp_ctx_t * const ctx, const int size, - hash_free_func free); + hash_free_func free_func); /** allocate a new reference to an existing hash table */ hash_t *hash_clone(hash_t * const table);