#include <assert.h>
#include <ctype.h>
#include <limits.h>
+#include <stdbool.h>
#include <stdlib.h>
#include "array.h"
#include "alloc.h"
-#include <stdbool.h>
+#include "compiler.h"
#include "misc.h"
#include "str.h"
}
}
-/* Locates an entry matching TARGET. Returns a pointer to the
- entry, or a null pointer on failure. */
+/* Locates an entry matching TARGET. Returns the index for the
+ entry, if found, or the index of an empty entry that indicates
+ where TARGET should go, otherwise. */
static inline unsigned
locate_matching_entry (struct hsh_table *h, const void *target)
{
\f
/* Debug helpers. */
-#if GLOBAL_DEBUGGING
+#if DEBUGGING
#undef NDEBUG
#include "message.h"
#include <stdio.h>