batman-adv: Remove dangling declaration of hash_remove_element
authorSven Eckelmann <sven@narfation.org>
Thu, 27 Jan 2011 12:10:23 +0000 (13:10 +0100)
committerSven Eckelmann <sven@narfation.org>
Mon, 31 Jan 2011 13:57:10 +0000 (14:57 +0100)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/hash.h

index 09216ade16f1a92a8f907af1192deafc902f03d9..2f508e646cb4ad0a867e7a226cf2fdd93c37877a 100644 (file)
@@ -49,11 +49,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);