summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/hashing.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-04-13 06:48:15 +1000
committer Vas Crabb <vas@vastheman.com>2020-04-13 06:48:15 +1000
commit2add7c158c409b19853608fd6736346f876984a2 (patch)
treea4dba5969b8b458de37080b3ac4e6e67f49b6eb9 /src/lib/util/hashing.cpp
parentc2ca7ea90cf1a6a58da45bf19f711bcf9d8720ca (diff)
split was using sha1.h directly - fix that (nw)
Diffstat (limited to 'src/lib/util/hashing.cpp')
-rw-r--r--src/lib/util/hashing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/hashing.cpp b/src/lib/util/hashing.cpp
index ebfc84fd33f..e554bd731b4 100644
--- a/src/lib/util/hashing.cpp
+++ b/src/lib/util/hashing.cpp
@@ -45,7 +45,7 @@ constexpr uint32_t sha1_rol(uint32_t x, unsigned n)
return (x << n) | (x >> (32 - n));
}
-uint32_t sha1_b(uint32_t *data, unsigned i)
+inline uint32_t sha1_b(uint32_t *data, unsigned i)
{
uint32_t r = data[(i + 13) & 15U];
r ^= data[(i + 8) & 15U];