X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fhash.c;h=f42901ea8e5479d42c6f0ee0ad0e3c603badc1a6;hb=2cc5c881d3bf3effeb07bc9e3aef958975a17b27;hp=38dd7ee27671f0eae0764bf6864b388e43ef2da6;hpb=3a7fba81ceae5b049d0f7d671e9e3c3c43bbf703;p=pspp-builds.git diff --git a/src/hash.c b/src/hash.c index 38dd7ee2..f42901ea 100644 --- a/src/hash.c +++ b/src/hash.c @@ -19,7 +19,7 @@ #include #include "hash.h" -#include +#include "error.h" #include #include #include "algorithm.h" @@ -229,7 +229,7 @@ hsh_rehash (struct hsh_table *h, size_t new_size) /* A "algo_predicate_func" that returns nonzero if DATA points to a non-null void. */ static int -not_null (const void *data_, void *aux unused) +not_null (const void *data_, void *aux UNUSED) { void *const *data = data_; @@ -479,7 +479,7 @@ hsh_count (struct hsh_table *h) #if GLOBAL_DEBUGGING #undef NDEBUG -#include +#include "error.h" #include /* Displays contents of hash table H on stdout. */