aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/string/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libc/string/strcmp.c')
-rw-r--r--src/userspace/libc/string/strcmp.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/userspace/libc/string/strcmp.c b/src/userspace/libc/string/strcmp.c
deleted file mode 100644
index 932877d..0000000
--- a/src/userspace/libc/string/strcmp.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <stdint.h>
-#include <string.h>
-
-char strcmp(char *a, char *b)
-{
- if (strlen(a) != strlen(b))
- return 1;
-
- for (u32 i = 0; i < strlen(a); i++)
- if (a[i] != b[i])
- return 1;
-
- return 0;
-} \ No newline at end of file