]> arthur.ath.cx Git - ngircd.git/commitdiff
char* -> const char* [from HEAD]
authorFlorian Westphal <fw@strlen.de>
Sat, 2 Dec 2006 13:18:22 +0000 (13:18 +0000)
committerFlorian Westphal <fw@strlen.de>
Sat, 2 Dec 2006 13:18:22 +0000 (13:18 +0000)
src/ngircd/hash.c
src/ngircd/hash.h

index 3bf2417fd146027d7ed2e147c9bd3e15ae122cea..8eab8fb94de32e84b5e26dabbe70e685556c2c2a 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: hash.c,v 1.12 2005/07/31 20:13:08 alex Exp $";
+static char UNUSED id[] = "$Id: hash.c,v 1.12.2.1 2006/12/02 13:18:22 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -31,7 +31,7 @@ static UINT32 jenkins_hash PARAMS(( register UINT8 *k, register UINT32 length, r
 
 
 GLOBAL UINT32
-Hash( char *String )
+Hash( const char *String )
 {
        /* Hash-Wert ueber String berechnen */
 
index ea6247be90a5f2b76e43f9a8138372d37389e650..0da155b797546a35dc878407afaa113c32a4bc15 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: hash.h,v 1.5 2005/03/19 18:43:48 fw Exp $
+ * $Id: hash.h,v 1.5.4.1 2006/12/02 13:18:22 fw Exp $
  *
  * Hash calculation (header)
  */
@@ -17,8 +17,7 @@
 #ifndef __hash_h__
 #define __hash_h__
 
-
-GLOBAL UINT32 Hash PARAMS((char *String ));
+GLOBAL UINT32 Hash PARAMS((const char *String ));
 
 
 #endif