diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-24 09:06:41 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-11 14:30:50 -0400 |
commit | 696cc6b2a0e24e1b47f4072140b1c788e536a081 (patch) | |
tree | a8a4c7539d71e504e5c666947760a7efad861bf0 /src | |
parent | b7116c9fcccabea1bbd66581e634468bc46bcbc5 (diff) | |
download | sssd-696cc6b2a0e24e1b47f4072140b1c788e536a081.tar.gz sssd-696cc6b2a0e24e1b47f4072140b1c788e536a081.tar.xz sssd-696cc6b2a0e24e1b47f4072140b1c788e536a081.zip |
murmurhash: Relax inline requirement
Diffstat (limited to 'src')
-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 4bd4dc710..519fafaa1 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; |