}
#endif
-#include <stdlib.h>
-
#ifdef HASH_GIVE_ALLOC
/* If the caller has requested to use his own allocation functions, do so */
static inline void P(init_alloc) (TAU) { }
static void P(alloc_table) (TAU)
{
- T.hash_size = nextprime(T.hash_size);
+ T.hash_size = next_table_prime(T.hash_size);
T.ht = P(table_alloc)(TTC sizeof(void *) * T.hash_size);
bzero(T.ht, sizeof(void *) * T.hash_size);
if (2*T.hash_size < T.hash_hard_max)
GLUE_(h_px,node) *h_var = &h_buck->n;
#define HASH_FOR_ALL(h_px, h_var) HASH_FOR_ALL_DYNAMIC(h_px, &GLUE_(h_px,table), h_var)
#define HASH_END_FOR } } while(0)
-#define HASH_BREAK
+#define HASH_BREAK
#define HASH_CONTINUE continue
#endif