aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/hashtable.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-03-12 18:07:32 +0000
committerTobias Brunner <tobias@strongswan.org>2009-03-12 18:07:32 +0000
commitd25ce3701e066121d2026b0dfd72a794f3bbee29 (patch)
treeaa4833262e49963746a430d2a07381986395aae4 /src/libstrongswan/utils/hashtable.c
parent9086102dfd4a9fe654af922d00bc5e5238547f21 (diff)
downloadstrongswan-d25ce3701e066121d2026b0dfd72a794f3bbee29.tar.bz2
strongswan-d25ce3701e066121d2026b0dfd72a794f3bbee29.tar.xz
printf hooks refactored to increase portability (i.e. support for platforms without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms).
Diffstat (limited to 'src/libstrongswan/utils/hashtable.c')
-rw-r--r--src/libstrongswan/utils/hashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstrongswan/utils/hashtable.c b/src/libstrongswan/utils/hashtable.c
index 9c364dddf..295f28565 100644
--- a/src/libstrongswan/utils/hashtable.c
+++ b/src/libstrongswan/utils/hashtable.c
@@ -282,7 +282,7 @@ static void *get(private_hashtable_t *this, void *key)
/**
* Implementation of hashtable_t.remove
*/
-static void *remove(private_hashtable_t *this, void *key)
+static void *remove_(private_hashtable_t *this, void *key)
{
void *value = NULL;
linked_list_t *list;
@@ -414,7 +414,7 @@ hashtable_t *hashtable_create(hashtable_hash_t hash, hashtable_equals_t equals,
this->public.put = (void*(*)(hashtable_t*,void*,void*))put;
this->public.get = (void*(*)(hashtable_t*,void*))get;
- this->public.remove = (void*(*)(hashtable_t*,void*))remove;
+ this->public.remove = (void*(*)(hashtable_t*,void*))remove_;
this->public.get_count = (u_int(*)(hashtable_t*))get_count;
this->public.create_enumerator = (enumerator_t*(*)(hashtable_t*))create_enumerator;
this->public.destroy = (void(*)(hashtable_t*))destroy;