summaryrefslogtreecommitdiffstats
path: root/avahi-core/hashmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/hashmap.c')
-rw-r--r--avahi-core/hashmap.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/avahi-core/hashmap.c b/avahi-core/hashmap.c
index 24a1249..07bd707 100644
--- a/avahi-core/hashmap.c
+++ b/avahi-core/hashmap.c
@@ -124,20 +124,6 @@ void* avahi_hashmap_lookup(AvahiHashmap *m, const void *key) {
return e->value;
}
-void* avahi_hashmap_steal(AvahiHashmap *m, const void *key) {
- Entry *e;
- void *v;
-
- assert(m);
-
- if (!(e = entry_get(m, key)))
- return NULL;
-
- v = e->value;
- entry_free(m, e, 1);
- return v;
-}
-
int avahi_hashmap_insert(AvahiHashmap *m, void *key, void *value) {
unsigned idx;
Entry *e;