From 33c6a1b9d4584afc0ac89b25edf666000ad938a7 Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Fri, 4 Jul 2014 07:57:18 -0700 Subject: lib/hash: Abstract hash interface. Use generic names hash_add() and hash_finish() instead of mhash_* equivalents. This makes future changes to hash implentations more localized. Signed-off-by: Jarno Rajahalme Acked-by: Ben Pfaff --- lib/cmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/cmap.c') diff --git a/lib/cmap.c b/lib/cmap.c index df93b8501..0a791328c 100644 --- a/lib/cmap.c +++ b/lib/cmap.c @@ -193,7 +193,7 @@ other_hash(uint32_t hash) static uint32_t rehash(const struct cmap_impl *impl, uint32_t hash) { - return mhash_finish(impl->basis, hash); + return hash_finish(impl->basis, hash); } static struct cmap_impl * -- cgit v1.2.1