X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fhash.h;h=57fc2678d09548ad50922b9130298afb6cf80cac;hb=c1e75ee809efd2f4bfd9ebcc1c2b0689c1da0e4c;hp=59efbe56223a21e8bb253ea972d914148544b1d5;hpb=be412d7b78faa1598408c8b9f35375f3918e8274;p=pspp-builds.git diff --git a/src/libpspp/hash.h b/src/libpspp/hash.h index 59efbe56..57fc2678 100644 --- a/src/libpspp/hash.h +++ b/src/libpspp/hash.h @@ -19,6 +19,7 @@ #include #include +#include typedef int hsh_compare_func (const void *, const void *, const void *aux); typedef unsigned hsh_hash_func (const void *, const void *aux); @@ -30,13 +31,6 @@ struct hsh_iterator size_t next; /* Index of next entry. */ }; -/* Hash functions. */ -unsigned hsh_hash_bytes (const void *, size_t); -unsigned hsh_hash_string (const char *); -unsigned hsh_hash_case_string (const char *); -unsigned hsh_hash_int (int); -unsigned hsh_hash_double (double); - /* Hash tables. */ struct hsh_table *hsh_create (int m, hsh_compare_func *, hsh_hash_func *, hsh_free_func *,