imaxdiv: Avoid link error on OSF/1 with DTK cc.
[gnulib.git] / lib / hash.c
index a4a2420..4d76f76 100644 (file)
@@ -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 <stdint.h>
 #include <stdio.h>
@@ -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);