* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2000-2002 Project Purple
+ *
+ * $Id: hash.c,v 1.10 2003/10/11 21:52:18 noodles Exp $
*/
#include <stdio.h>
* 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;
return elements;
}
-struct ll *gethashtableentry(int entry)
+struct ll *gethashtableentry(unsigned int entry)
{
return hashtable[entry];
}