X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fhash.c;h=4d76f765e90b4ba549ce097b8eb717a6cb869e2b;hb=6add58a9a1e2531ac96079cc063201ef3b3c2b98;hp=a4a242057b9dbcb872d70112cb6a17ff15523bdc;hpb=c0ebdfe226c38c72db7c1944113fd19ff534e362;p=gnulib.git diff --git a/lib/hash.c b/lib/hash.c index a4a242057..4d76f765e 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -1,6 +1,6 @@ /* hash - hashing table processing. - Copyright (C) 1998-2004, 2006-2007, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 1998-2004, 2006-2007, 2009-2011 Free Software Foundation, Inc. Written by Jim Meyering, 1992. @@ -27,7 +27,7 @@ #include "hash.h" #include "bitrotate.h" -#include "xalloc.h" +#include "xalloc-oversized.h" #include #include @@ -245,7 +245,7 @@ hash_print_statistics (const Hash_table *table, FILE *stream) /* Hash KEY and return a pointer to the selected bucket. If TABLE->hasher misbehaves, abort. */ -static struct hash_entry const * +static struct hash_entry * safe_hasher (const Hash_table *table, const void *key) { size_t n = table->hasher (key, table->n_buckets);