]> the.earth.li Git - onak.git/blobdiff - hash.c
cscvs to tla changeset 107
[onak.git] / hash.c
diff --git a/hash.c b/hash.c
index 91f3b9e2be24fafaeb79170438cf5351508c4086..03def747c2fb5d77707316a3eb797af267d811fe 100644 (file)
--- a/hash.c
+++ b/hash.c
@@ -4,10 +4,13 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2000-2002 Project Purple
+ *
+ * $Id: hash.c,v 1.9 2003/10/04 10:21:40 noodles Exp $
  */
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "hash.h"
 #include "keystructs.h"
@@ -54,7 +57,7 @@ void destroyhash(void)
                 * 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;