diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-07-04 07:57:18 -0700 |
---|---|---|
committer | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-07-04 07:57:18 -0700 |
commit | 33c6a1b9d4584afc0ac89b25edf666000ad938a7 (patch) | |
tree | 557ed4144028f5f2fc34b05c3c8220855cd8c406 /lib/cmap.c | |
parent | 9f361d6b29fb88080e203be3a41b6abbc4351612 (diff) | |
download | openvswitch-33c6a1b9d4584afc0ac89b25edf666000ad938a7.tar.gz |
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 <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/cmap.c')
-rw-r--r-- | lib/cmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |