From 14cdb7fdd0605a1059fdda4ed749ecf910100fe2 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 2 Dec 2006 13:18:22 +0000 Subject: [PATCH] char* -> const char* [from HEAD] --- src/ngircd/hash.c | 4 ++-- src/ngircd/hash.h | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ngircd/hash.c b/src/ngircd/hash.c index 3bf2417f..8eab8fb9 100644 --- a/src/ngircd/hash.c +++ b/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, register UINT32 length, r GLOBAL UINT32 -Hash( char *String ) +Hash( const char *String ) { /* Hash-Wert ueber String berechnen */ diff --git a/src/ngircd/hash.h b/src/ngircd/hash.h index ea6247be..0da155b7 100644 --- a/src/ngircd/hash.h +++ b/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,8 +17,7 @@ #ifndef __hash_h__ #define __hash_h__ - -GLOBAL UINT32 Hash PARAMS((char *String )); +GLOBAL UINT32 Hash PARAMS((const char *String )); #endif