X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fhash.h;h=3281c0e273b0eabac518f71ed66ca4ddc9d2578b;hb=81579d9e9f994fb2908f50af41c3eb033d216e58;hp=59efbe56223a21e8bb253ea972d914148544b1d5;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/libpspp/hash.h b/src/libpspp/hash.h index 59efbe56..3281c0e2 100644 --- a/src/libpspp/hash.h +++ b/src/libpspp/hash.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2009, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,6 +19,7 @@ #include #include +#include "libpspp/hash-functions.h" 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 *,