X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fhash.c;h=9da3deb120a92ba0ee3423f78441ad85dd9ab22f;hb=399bf939cf7597e9dbe1810a07ffcb5c2ed57d32;hp=bc5933a2b5813521dbe51e9cda5eb117590fcc72;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/libpspp/hash.c b/src/libpspp/hash.c index bc5933a2..9da3deb1 100644 --- a/src/libpspp/hash.c +++ b/src/libpspp/hash.c @@ -24,12 +24,12 @@ #include #include #include "array.h" -#include "alloc.h" #include "compiler.h" #include "misc.h" #include "str.h" #include "pool.h" +#include "xalloc.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -449,7 +449,7 @@ hsh_sort_copy (struct hsh_table *h) to a pointer to that entry; otherwise returns a pointer to a NULL entry which *must* be used to insert a new entry having the same key data. */ -inline void ** +void ** hsh_probe (struct hsh_table *h, const void *target) { unsigned i;