aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos2017-11-01 03:05:51 +0100
committerCarl Eugen Hoyos2017-11-01 03:05:51 +0100
commit17806f6083c888fbb1a35da6dd21c42a20e5a315 (patch)
treea92b0843f0b181273888e9429e6f1f7a389646e8
parent5c51d0edd4f37d675cbe1a010baa38c6968b8f19 (diff)
lavu/murmur3: Enforce usual function attribute order.
-rw-r--r--libavutil/murmur3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/murmur3.c b/libavutil/murmur3.c
index 4271e01453..ef853f404a 100644
--- a/libavutil/murmur3.c
+++ b/libavutil/murmur3.c
@@ -60,7 +60,7 @@ static uint64_t inline get_k1(const uint8_t *src)
return k;
}
-static uint64_t inline get_k2(const uint8_t *src)
+static inline uint64_t get_k2(const uint8_t *src)
{
uint64_t k = AV_RL64(src + 8);
k *= c2;
@@ -69,7 +69,7 @@ static uint64_t inline get_k2(const uint8_t *src)
return k;
}
-static uint64_t inline update_h1(uint64_t k, uint64_t h1, uint64_t h2)
+static inline uint64_t update_h1(uint64_t k, uint64_t h1, uint64_t h2)
{
k ^= h1;
k = ROT(k, 27);
@@ -79,7 +79,7 @@ static uint64_t inline update_h1(uint64_t k, uint64_t h1, uint64_t h2)
return k;
}
-static uint64_t inline update_h2(uint64_t k, uint64_t h1, uint64_t h2)
+static inline uint64_t update_h2(uint64_t k, uint64_t h1, uint64_t h2)
{
k ^= h2;
k = ROT(k, 31);