mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-11-04 07:52:59 +00:00 
			
		
		
		
	- reverted last patch: now compatible with -Wtraditional of GCC 3.
This commit is contained in:
		@@ -14,7 +14,7 @@
 | 
			
		||||
 | 
			
		||||
#include "portab.h"
 | 
			
		||||
 | 
			
		||||
static char UNUSED id[] = "$Id: hash.c,v 1.7 2002/12/25 13:22:43 alex Exp $";
 | 
			
		||||
static char UNUSED id[] = "$Id: hash.c,v 1.8 2002/12/26 13:16:54 alex Exp $";
 | 
			
		||||
 | 
			
		||||
#include "imp.h"
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
@@ -87,7 +87,7 @@ jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval
 | 
			
		||||
 | 
			
		||||
	/* Set up the internal state */
 | 
			
		||||
	len = length;
 | 
			
		||||
	a = b = 0x9e3779b9u;	/* the golden ratio; an arbitrary value */
 | 
			
		||||
	a = b = 0x9e3779b9;	/* the golden ratio; an arbitrary value */
 | 
			
		||||
	c = initval;		/* the previous hash value */
 | 
			
		||||
 | 
			
		||||
	/* handle most of the key */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user