mirror of
https://github.com/osmarks/ngircd.git
synced 2025-08-26 07:22:23 +00:00
char* -> const char* [from HEAD]
This commit is contained in:
parent
740d876c44
commit
14cdb7fdd0
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#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 "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -31,7 +31,7 @@ static UINT32 jenkins_hash PARAMS(( register UINT8 *k, register UINT32 length, r
|
|||||||
|
|
||||||
|
|
||||||
GLOBAL UINT32
|
GLOBAL UINT32
|
||||||
Hash( char *String )
|
Hash( const char *String )
|
||||||
{
|
{
|
||||||
/* Hash-Wert ueber String berechnen */
|
/* Hash-Wert ueber String berechnen */
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
* Please read the file COPYING, README and AUTHORS for more information.
|
* 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)
|
* Hash calculation (header)
|
||||||
*/
|
*/
|
||||||
@ -17,8 +17,7 @@
|
|||||||
#ifndef __hash_h__
|
#ifndef __hash_h__
|
||||||
#define __hash_h__
|
#define __hash_h__
|
||||||
|
|
||||||
|
GLOBAL UINT32 Hash PARAMS((const char *String ));
|
||||||
GLOBAL UINT32 Hash PARAMS((char *String ));
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user