* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2000-2002 Project Purple
- *
- * $Id: hash.c,v 1.8 2003/06/04 20:57:08 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];
}