]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/hash.c
Implement the IRC command "SERVLIST"
[ngircd-alex.git] / src / ngircd / hash.c
index 351c547a6e023be39352f4d420c85dacb82ab0d3..d9aa79bb1f1b93478a9f1dd7c0e135ac7ed62408 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: hash.c,v 1.11 2005/03/19 18:43:48 fw Exp $";
+static char UNUSED id[] = "$Id: hash.c,v 1.13 2006/10/06 21:23:47 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -27,11 +27,11 @@ static char UNUSED id[] = "$Id: hash.c,v 1.11 2005/03/19 18:43:48 fw Exp $";
 #include "hash.h"
 
 
-LOCAL UINT32 jenkins_hash PARAMS(( register UINT8 *k, register UINT32 length, register UINT32 initval ));
+static UINT32 jenkins_hash PARAMS(( register UINT8 *k, register UINT32 length, register UINT32 initval ));
 
 
 GLOBAL UINT32
-Hash( char *String )
+Hash( const char *String )
 {
        /* Hash-Wert ueber String berechnen */
 
@@ -72,7 +72,7 @@ Hash( char *String )
 } /* mix */
 
 
-LOCAL UINT32
+static UINT32
 jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval )
 {
        /* k: the key