Update Debian Vcs-* fields to point to git repository
[onak.git] / hash.h
diff --git a/hash.h b/hash.h
index 3044c615bb38c27a42ba056009cb240002afa888..161fcf509940ccd43120b31c8b9e9c01a8edc16e 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -1,11 +1,20 @@
 /*
  * hash.h - hashing routines mainly used for caching key details.
  *
- * Jonathan McDowell <noodles@earth.li>
+ * Copyright 2000-2002 Jonathan McDowell <noodles@earth.li>
  *
- * Copyright 2000-2002 Project Purple
+ * 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 the Free
+ * Software Foundation; version 2 of the License.
  *
- * $Id: hash.h,v 1.4 2003/06/04 20:57:08 noodles Exp $
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef __HASH_H__
@@ -13,6 +22,7 @@
 
 #include "keystructs.h"
 #include "ll.h"
+#include "stats.h"
 
 #define HASHSIZE 1024
 #define HASHMASK 0x3FF
@@ -73,6 +83,6 @@ unsigned long hashelements(void);
  *     Gets a particular entry from the hash. Useful for doing something over
  *     all entries in the hash.
  */
-struct ll *gethashtableentry(int entry);
+struct ll *gethashtableentry(unsigned int entry);
 
 #endif /* __HASH_H__ */