summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-04-24 09:06:41 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-24 14:27:39 -0400
commitf34e96625d745c8fd13bf31107e0c66f1fbf1a65 (patch)
tree74954b0fb6e31c68793037d7451fbf68f9bdb103 /src/util
parent2c68b4a680e64d8e506794d5976367394133504b (diff)
downloadsssd-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.c4
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;