rename hash func

This commit is contained in:
2022-12-03 16:06:30 +01:00
parent 17cabaddb7
commit 72930105f1

View File

@@ -5,7 +5,7 @@
#include "hash.h"
/* 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);
while (len--)