#include "bashansi.h"
#if defined (HAVE_UNISTD_H)
+# ifdef _MINIX
+# include <sys/types.h>
+# endif
# include <unistd.h>
#endif
free (table);
}
+/* No longer necessary; everything uses the macro */
+#if 0
/* Return the bucket_contents list of bucket BUCKET in TABLE. If
TABLE doesn't have BUCKET buckets, return NULL. */
#undef get_hash_bucket
else
return (BUCKET_CONTENTS *)NULL;
}
+#endif
-/* #ifdef DEBUG */
+#ifdef DEBUG
+void
print_table_stats (table, name)
HASH_TABLE *table;
char *name;
fprintf (stderr, "%d\n", bcount);
}
}
-/* #endif */
+#endif
#ifdef TEST_HASHING