diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-14 13:11:06 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-14 13:11:06 -0400 |
commit | 4094bcbfacc78d2fadddefd8642aac2ae9464de6 (patch) | |
tree | d665224eeea8aaf4c30d2660fcef3a713bb79077 /src | |
parent | a56f19c4f9c8ed5f916d7edbe1f73b7b49e68e83 (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/MurmurHash3.c | 2 |
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 ) { |