projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix db4 backend - we weren't actually providing a suitable dbfuncs struct.
[onak.git]
/
hash.c
diff --git
a/hash.c
b/hash.c
index 4caa70909ba76a1db9e0dc46a0a00646b49a97d5..66ae5e54dccfbf3984b54c6807946c8024c8845b 100644
(file)
--- a/
hash.c
+++ b/
hash.c
@@
-55,7
+55,7
@@
void destroyhash(void)
* TODO: The problem is the object has pointers that
* need freed too.
*/
* TODO: The problem is the object has pointers that
* need freed too.
*/
- llfree(curll, free_statskey);
+ llfree(curll,
(void (*)(void *))
free_statskey);
hashtable[i] = NULL;
}
elements = 0;
hashtable[i] = NULL;
}
elements = 0;
@@
-121,7
+121,7
@@
unsigned long hashelements(void)
return elements;
}
return elements;
}
-struct ll *gethashtableentry(int entry)
+struct ll *gethashtableentry(
unsigned
int entry)
{
return hashtable[entry];
}
{
return hashtable[entry];
}