#include <ctype.h>
#include <moira.h>
#include <string.h>
+#include <stdlib.h>
-extern char *malloc();
-
+#ifndef NULL
#define NULL 0
+#endif
#define hash_func(h, key) (key >= 0 ? (key % h->size) : (-key % h->size))
/* Create a hash table. The size is just a hint, not a maximum. */