diff options
| author | Alexander Barton <alex@barton.de> | 2002-05-27 12:54:07 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-05-27 12:54:07 +0000 |
| commit | 1934257636d635b835183466d24714a2ae91bf9c (patch) | |
| tree | fb4e084b8b2e772f82013aa4c100d4aec1177e8d /src | |
| parent | fba52c45e80096ea01e79900ebe53ec2e1d6edb0 (diff) | |
| download | ngircd-1934257636d635b835183466d24714a2ae91bf9c.tar.gz ngircd-1934257636d635b835183466d24714a2ae91bf9c.zip | |
- Anpassungen an pre-ANSI-Compiler.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/hash.c | 10 | ||||
| -rw-r--r-- | src/ngircd/hash.h | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/ngircd/hash.c b/src/ngircd/hash.c index 876b92f5..34da798c 100644 --- a/src/ngircd/hash.c +++ b/src/ngircd/hash.c @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: hash.c,v 1.4 2002/03/25 19:11:01 alex Exp $ + * $Id: hash.c,v 1.5 2002/05/27 12:54:07 alex Exp $ * * hash.c: Hash-Werte berechnen */ @@ -29,10 +29,11 @@ #include "hash.h" -LOCAL UINT32 jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval); +LOCAL UINT32 jenkins_hash PARAMS(( register UINT8 *k, register UINT32 length, register UINT32 initval )); -GLOBAL UINT32 Hash( CHAR *String ) +GLOBAL UINT32 +Hash( CHAR *String ) { /* Hash-Wert ueber String berechnen */ @@ -75,7 +76,8 @@ GLOBAL UINT32 Hash( CHAR *String ) } /* mix */ -LOCAL UINT32 jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval) +LOCAL UINT32 +jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval ) { /* k: the key * length: length of the key diff --git a/src/ngircd/hash.h b/src/ngircd/hash.h index aacce61d..c4da11ad 100644 --- a/src/ngircd/hash.h +++ b/src/ngircd/hash.h @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: hash.h,v 1.2 2002/03/14 15:49:36 alex Exp $ + * $Id: hash.h,v 1.3 2002/05/27 12:54:07 alex Exp $ * * hash.h: Hash-Werte berechnen (Header) */ @@ -19,7 +19,7 @@ #define __hash_h__ -GLOBAL UINT32 Hash( CHAR *String ); +GLOBAL UINT32 Hash PARAMS((CHAR *String )); #endif |