commit 14cdb7fdd0605a1059fdda4ed749ecf910100fe2 from: Florian Westphal date: Sat Dec 02 13:18:22 2006 UTC char* -> const char* [from HEAD] commit - 740d876c441e738873d772155c808be7b267c697 commit + 14cdb7fdd0605a1059fdda4ed749ecf910100fe2 blob - 3bf2417fd146027d7ed2e147c9bd3e15ae122cea blob + 8eab8fb94de32e84b5e26dabbe70e685556c2c2a --- src/ngircd/hash.c +++ src/ngircd/hash.c @@ -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 @@ -31,7 +31,7 @@ static UINT32 jenkins_hash PARAMS(( register UINT8 *k, GLOBAL UINT32 -Hash( char *String ) +Hash( const char *String ) { /* Hash-Wert ueber String berechnen */ blob - ea6247be90a5f2b76e43f9a8138372d37389e650 blob + 0da155b797546a35dc878407afaa113c32a4bc15 --- src/ngircd/hash.h +++ src/ngircd/hash.h @@ -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,10 +17,9 @@ #ifndef __hash_h__ #define __hash_h__ +GLOBAL UINT32 Hash PARAMS((const char *String )); -GLOBAL UINT32 Hash PARAMS((char *String )); - #endif