projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Updated pandora-build files to version 0.131
[m6w6/libmemcached]
/
libhashkit
/
jenkins.c
diff --git
a/libhashkit/jenkins.c
b/libhashkit/jenkins.c
index 29d9454e3b229ed0ea872e9d92ef6340ff804aa3..b684d7a061de50bc6d11af0a12fb3e6a09ebab66 100644
(file)
--- a/
libhashkit/jenkins.c
+++ b/
libhashkit/jenkins.c
@@
-56,7
+56,7
@@
use a bitmask. For example, if you need only 10 bits, do
In which case, the hash table should have hashsize(10) elements.
*/
In which case, the hash table should have hashsize(10) elements.
*/
-uint32_t hashkit_jenkins(const char *key, size_t length)
+uint32_t hashkit_jenkins(const char *key, size_t length
, void *context __attribute__((unused))
)
{
uint32_t a,b,c; /* internal state */
union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */
{
uint32_t a,b,c; /* internal state */
union { const void *ptr; size_t i; } u; /* needed for Mac Powerbook G4 */