Merge remote-tracking branch 'origin/master' into isa/arm64
[lunaix-os.git] / lunaix-os / libs / hash.c
index 41fa4b19dd9726610cc255927d3f8c673fcabf69..3a0555fee81e38d2e58af2ad7a3ba0c800ff0d5e 100644 (file)
@@ -1,4 +1,5 @@
-#include <lib/hash.h>
+#include <klibc/hash.h>
+#include <lunaix/compiler.h>
 
 /**
  * @brief Simple string hash function
@@ -8,7 +9,7 @@
  * @param str
  * @return unsigned int
  */
-u32_t
+u32_t _weak
 strhash_32(const char* str, u32_t truncate_to)
 {
     if (!str)