diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-24 09:06:41 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-24 14:27:39 -0400 |
commit | f34e96625d745c8fd13bf31107e0c66f1fbf1a65 (patch) | |
tree | 74954b0fb6e31c68793037d7451fbf68f9bdb103 /src/util | |
parent | 2c68b4a680e64d8e506794d5976367394133504b (diff) | |
download | sssd-f34e96625d745c8fd13bf31107e0c66f1fbf1a65.tar.gz sssd-f34e96625d745c8fd13bf31107e0c66f1fbf1a65.tar.bz2 sssd-f34e96625d745c8fd13bf31107e0c66f1fbf1a65.zip |
murmurhash: Relax inline requirement
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/murmurhash3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/murmurhash3.c b/src/util/murmurhash3.c index 4bd4dc71..519fafaa 100644 --- a/src/util/murmurhash3.c +++ b/src/util/murmurhash3.c @@ -29,7 +29,7 @@ static uint32_t rotl(uint32_t x, int8_t r) /* slower than original but is endian neutral and handles platforms that * do only aligned reads */ __attribute__((always_inline)) -static uint32_t getblock(const uint8_t *p, int i) +static inline uint32_t getblock(const uint8_t *p, int i) { uint32_t r; size_t size = sizeof(uint32_t); @@ -44,7 +44,7 @@ static uint32_t getblock(const uint8_t *p, int i) */ __attribute__((always_inline)) -static uint32_t fmix(uint32_t h) +static inline uint32_t fmix(uint32_t h) { h ^= h >> 16; h *= 0x85ebca6b; |