summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-14 13:11:06 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-14 13:11:06 -0400
commit4094bcbfacc78d2fadddefd8642aac2ae9464de6 (patch)
treed665224eeea8aaf4c30d2660fcef3a713bb79077
parenta56f19c4f9c8ed5f916d7edbe1f73b7b49e68e83 (diff)
MurmurHash3: actually inline functions
"__attribute__((always_inline))" does not replace "inline" and they still need to be used together. This fixes "always_inline function might not be inlinable [-Wattributes]" warning in gcc 4.7 Idea-from-patch-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
-rw-r--r--src/shared/MurmurHash3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/MurmurHash3.c b/src/shared/MurmurHash3.c
index dc56f6b0fb..aa1387373f 100644
--- a/src/shared/MurmurHash3.c
+++ b/src/shared/MurmurHash3.c
@@ -29,7 +29,7 @@
#else // defined(_MSC_VER)
-#define FORCE_INLINE __attribute__((always_inline))
+#define FORCE_INLINE inline __attribute__((always_inline))
static inline uint32_t rotl32 ( uint32_t x, int8_t r )
{