repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 1934257636d635b835183466d24714a2ae91bf9c:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 1934257636d635b835183466d24714a2ae91bf9c
Author: Alexander Barton 
Date:   Mon May 27 12:54:07 2002 +0000

    - Anpassungen an pre-ANSI-Compiler.

diff --git a/src/ngircd/hash.c b/src/ngircd/hash.c
index 876b92f5e41c18fc222151dc28a573839ea4677a..
index ..34da798c6f59b7687127560f5fe60b77d8f1ef6e 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 aacce61d0402d3f46757a33ee17a65e0c98b42db..
index ..c4da11ad6aed0a52f9c8f216a03febc0dabc9a08 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

-----END OF PAGE-----