Decoupling Architectural-specific Code (#35)
[lunaix-os.git] / lunaix-os / libs / hash.c
index 41fa4b19dd9726610cc255927d3f8c673fcabf69..b4e5c6f58910f57545aaaf0d36f4cd07722e7c4e 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)