hash: Convert macros to inline functions.
authorBen Pfaff <blp@nicira.com>
Wed, 18 Jan 2012 19:29:57 +0000 (11:29 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 2 Feb 2012 17:33:46 +0000 (09:33 -0800)
commitd556327b382760f32a6cb81b213bc653bdad5d38
tree7228e77db992520603bf4632bae7fa64e1c61c8d
parente764773ccb007e79f44d948a781fae1313ac28fe
hash: Convert macros to inline functions.

I always assumed that macros would generate better code.  I was wrong.  The
generated code was identical with inline functions, with GCC version 4.4.5.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/hash.c
lib/hash.h