diff options
author | Jason Evans <jasone@canonware.com> | 2013-12-17 23:30:49 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2013-12-17 23:30:49 (GMT) |
commit | 1b75b4e6d11814f470e797be4a610a2e3ae323d5 (patch) | |
tree | 9cb0957a12ab789ff738840bd28bf51df63240a3 /include | |
parent | 0d6c5d8bd0d866a0ce4ce321259cec65d6459821 (diff) | |
download | jemalloc-1b75b4e6d11814f470e797be4a610a2e3ae323d5.zip jemalloc-1b75b4e6d11814f470e797be4a610a2e3ae323d5.tar.gz jemalloc-1b75b4e6d11814f470e797be4a610a2e3ae323d5.tar.bz2 |
Add missing prototypes.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/hash.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/jemalloc/internal/hash.h b/include/jemalloc/internal/hash.h index 3ef10fd..09b69df 100644 --- a/include/jemalloc/internal/hash.h +++ b/include/jemalloc/internal/hash.h @@ -19,6 +19,11 @@ #ifdef JEMALLOC_H_INLINES #ifndef JEMALLOC_ENABLE_INLINE +uint32_t hash_x86_32(const void *key, int len, uint32_t seed); +void hash_x86_128(const void *key, const int len, uint32_t seed, + uint64_t r_out[2]); +void hash_x64_128(const void *key, const int len, const uint32_t seed, + uint64_t r_out[2]); void hash(const void *key, size_t len, const uint32_t seed, size_t r_hash[2]); #endif @@ -132,7 +137,7 @@ hash_x86_32(const void *key, int len, uint32_t seed) UNUSED JEMALLOC_INLINE void hash_x86_128(const void *key, const int len, uint32_t seed, - uint64_t r_out[2]) + uint64_t r_out[2]) { const uint8_t * data = (const uint8_t *) key; const int nblocks = len / 16; @@ -234,7 +239,7 @@ hash_x86_128(const void *key, const int len, uint32_t seed, UNUSED JEMALLOC_INLINE void hash_x64_128(const void *key, const int len, const uint32_t seed, - uint64_t r_out[2]) + uint64_t r_out[2]) { const uint8_t *data = (const uint8_t *) key; const int nblocks = len / 16; |