The following commit has been merged in the master branch: commit 36dd1ee606b13cf9941dd877c7de90c876bb20c1 Author: Sven Eckelmann sven@narfation.org Date: Fri Jan 28 20:25:01 2011 +0000
batman-adv: Remove dangling declaration of hash_remove_element
Signed-off-by: Sven Eckelmann sven@narfation.org
diff --git a/hash.h b/hash.h index a975e07..c3939ab 100644 --- a/hash.h +++ b/hash.h @@ -51,11 +51,6 @@ struct hashtable_t { /* allocates and clears the hash */ struct hashtable_t *hash_new(int size);
-/* remove element if you already found the element you want to delete and don't - * need the overhead to find it again with hash_remove(). But usually, you - * don't want to use this function, as it fiddles with hash-internals. */ -void *hash_remove_element(struct hashtable_t *hash, struct element_t *elem); - /* free only the hashtable and the hash itself. */ void hash_destroy(struct hashtable_t *hash);