From ce0ab9ef319383619ede0d53305b22b0ef1240b8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Aug 2014 03:26:25 +0000 Subject: Fix some const-correctness violations. git-svn-id: http://svn.drobilla.net/sord/trunk@297 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/zix/hash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/zix/hash.h') diff --git a/src/zix/hash.h b/src/zix/hash.h index c992117..5b265ff 100644 --- a/src/zix/hash.h +++ b/src/zix/hash.h @@ -43,8 +43,8 @@ typedef uint32_t (*ZixHashFunc)(const void* value); /** Function to visit a hash element. */ -typedef void (*ZixHashVisitFunc)(const void* value, - void* user_data); +typedef void (*ZixHashVisitFunc)(void* value, + void* user_data); /** Create a new hash table. @@ -124,7 +124,7 @@ zix_hash_find(const ZixHash* hash, @param user_data The user_data parameter passed to @p f. */ ZIX_API void -zix_hash_foreach(const ZixHash* hash, +zix_hash_foreach(ZixHash* hash, ZixHashVisitFunc f, void* user_data); -- cgit v1.2.1