git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Second Extended Filesystem (ext2) and other improvements (#33)
[lunaix-os.git]
/
lunaix-os
/
includes
/
klibc
/
hash.h
diff --git
a/lunaix-os/includes/klibc/hash.h
b/lunaix-os/includes/klibc/hash.h
index 69df34b8a1233c053b0819db6b3789734e5c8753..715f4a5ae27bbd9a9a0bbca9da0ee0b977269e10 100644
(file)
--- a/
lunaix-os/includes/klibc/hash.h
+++ b/
lunaix-os/includes/klibc/hash.h
@@
-17,7
+17,7
@@
strhash_32(const char* str, u32_t truncate_to);
* @param val
* @return u32_t
*/
-inline u32_t
+
static
inline u32_t
hash_32(const u32_t val, u32_t truncate_to)
{
return (val * 0x61C88647u) >> (HASH_SIZE_BITS - truncate_to);