rename hash func

This commit is contained in:
2022-12-03 16:12:19 +01:00
parent 46c9c2da13
commit 91c84987c7

View File

@@ -8,7 +8,6 @@
/* Fast hashing routine for ints, longs and pointers. /* Fast hashing routine for ints, longs and pointers.
(C) 2002 Nadia Yvette Chambers, IBM */ (C) 2002 Nadia Yvette Chambers, IBM */
#include <asm/types.h>
#include <asm/bitsperlong.h> #include <asm/bitsperlong.h>
#include "bits.h" #include "bits.h"
#include "br.h" #include "br.h"
@@ -157,7 +156,7 @@ static inline unsigned int end_name_hash(unsigned long hash)
* *
* If not set, this falls back to a wrapper around the preceding. * If not set, this falls back to a wrapper around the preceding.
*/ */
extern unsigned int __pure full_name_hash(const void *salt, const char *, unsigned int); extern unsigned int __pure hash_string(const void *salt, const char *, unsigned int);
/* /*
* A hash_len is a u64 with the hash of a string in the low * A hash_len is a u64 with the hash of a string in the low