rename hash func
This commit is contained in:
2
c/hash.c
2
c/hash.c
@@ -5,7 +5,7 @@
|
|||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
/* Return the hash of a string of known length */
|
/* Return the hash of a string of known length */
|
||||||
unsigned int full_name_hash(const void *salt, const char *name, unsigned int len)
|
unsigned int hash_string(const void *salt, const char *name, unsigned int len)
|
||||||
{
|
{
|
||||||
unsigned long hash = init_name_hash(salt);
|
unsigned long hash = init_name_hash(salt);
|
||||||
while (len--)
|
while (len--)
|
||||||
|
Reference in New Issue
Block a user