Implement APIC, RTC, basic ACPI parser and timer support
[lunaix-os.git] / lunaix-os / libs / libc / string / strchr.c
diff --git a/lunaix-os/libs/libc/string/strchr.c b/lunaix-os/libs/libc/string/strchr.c
deleted file mode 100644 (file)
index f122a7a..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <libc/string.h>
-
-const char*
-strchr(const char* str, int character)
-{
-    char c = (char)character;
-    while ((*str)) {
-        if (*str == c) {
-            return str;
-        }
-        str++;
-    }
-    return c == '\0' ? str : NULL;
-}
\ No newline at end of file