Fix several address-calculation bugs in the hash modules,
[gnulib.git] / lib / hash-pjw.h
index efcda11..b2a0994 100644 (file)
@@ -1,5 +1,5 @@
 /* hash-pjw.h -- declaration for a simple hash function
-   Copyright 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2003 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
@@ -16,5 +16,6 @@
    If not, write to the Free Software Foundation,
    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-unsigned int
-hash_pjw (const void *x, unsigned int tablesize);
+#include <stddef.h>
+
+size_t hash_pjw (void const *x, size_t tablesize);