mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-01 22:02:36 -05:00
Make Murmur hash functions static
This commit is contained in:
@@ -42,7 +42,7 @@ SQLITE_EXTENSION_INIT1
|
|||||||
|
|
||||||
#if SIZEOF_VOID_P == 8 /* 64bit platforms */
|
#if SIZEOF_VOID_P == 8 /* 64bit platforms */
|
||||||
|
|
||||||
uint64_t
|
static uint64_t
|
||||||
murmur_hash64(const void *key, int len, uint32_t seed)
|
murmur_hash64(const void *key, int len, uint32_t seed)
|
||||||
{
|
{
|
||||||
const int r = 47;
|
const int r = 47;
|
||||||
@@ -100,7 +100,7 @@ murmur_hash64(const void *key, int len, uint32_t seed)
|
|||||||
|
|
||||||
#elif SIZEOF_VOID_P == 4 /* 32bit platforms */
|
#elif SIZEOF_VOID_P == 4 /* 32bit platforms */
|
||||||
|
|
||||||
uint64_t
|
static uint64_t
|
||||||
murmur_hash64(const void *key, int len, uint32_t seed)
|
murmur_hash64(const void *key, int len, uint32_t seed)
|
||||||
{
|
{
|
||||||
const int r = 24;
|
const int r = 24;
|
||||||
|
|||||||
Reference in New Issue
Block a user