From patchwork Thu Jan 27 13:56:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 719 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 376D3154575 for ; Thu, 27 Jan 2011 14:56:22 +0100 (CET) Received: from sven-desktop.home.narfation.org (i59F6B335.versanet.de [89.246.179.53]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id BB3BA94061; Thu, 27 Jan 2011 14:56:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1296136614; bh=kSjUDgzTrx4BY2Iw4RBzdpPeQcCSMghFPbJbRaaj8xI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=ia1TeK2aAks9pp6eqhMjC0TiMdAWDu5jup2+SKmLiaXJaZKIw/c0yRgwipE8wbGRX ey9Obkdh+Piqf7N5u3UtrFg0R3TeWBLzGmwTK+imddw13B5xeGIDJV8aL8jYrW52K/ f1mJQHep6J3jaGz5fkNWM+TpUBPeGuCzDOxt70UQ= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 27 Jan 2011 14:56:08 +0100 Message-Id: <1296136571-13226-2-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1296136571-13226-1-git-send-email-sven@narfation.org> References: <1296136571-13226-1-git-send-email-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: Remove dangling declaration of hash_remove_element X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2011 13:56:22 -0000 Signed-off-by: Sven Eckelmann --- batman-adv/hash.h | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/batman-adv/hash.h b/batman-adv/hash.h index a975e07..c3939ab 100644 --- a/batman-adv/hash.h +++ b/batman-adv/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);