rewrite the device subsystem interfaces (#48)
[lunaix-os.git] / lunaix-os / libs / klibc / string / strchr.c
index 352efd1e649f6fd2d026f4c7053ca8fa2d09f1fb..353592d9b9e0cf2bfa9c608dd94b0c502f872b8c 100644 (file)
@@ -1,6 +1,7 @@
 #include <klibc/string.h>
+#include <lunaix/types.h>
 
-const char*
+const char* _weak
 strchr(const char* str, int character)
 {
     char c = (char)character;