From eed77bd2970a00d1394ed027ceca5b646e4671ce Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 18:31:46 +0200 Subject: Started rewrite --- src/userspace/libc/string/strcmp.c | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/userspace/libc/string/strcmp.c (limited to 'src/userspace/libc/string/strcmp.c') 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 -#include - -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 -- cgit v1.2.3