summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-05-22 13:00:41 -0400
committerJon Santmyer <jon@jonsantmyer.com>2024-05-22 13:00:41 -0400
commitace65b453151845bc361f21f3e5b651c35f9f126 (patch)
tree262ebd29b0ca1d8584f0b6f1efa7a00d9f4f3e43 /lib/string.c
parentf004c1ade8d617a82cea2fe249434cccb47a2358 (diff)
downloadjove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.tar.gz
jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.tar.bz2
jove-kernel-ace65b453151845bc361f21f3e5b651c35f9f126.zip
massive refactor for mp and organizationHEADmaster
Diffstat (limited to 'lib/string.c')
-rw-r--r--lib/string.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/string.c b/lib/string.c
deleted file mode 100644
index 4bb1bad..0000000
--- a/lib/string.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "string.h"
-
-size_t strlen(const char *s) {
- size_t l = 0;
- for(; *s != 0; s++, l++);
- return l;
-}
-
-int strcmp(const char *a, const char *b)
-{
- size_t i = 0;
- for(; a[i] != 0 && b[i] != 0; i++) {
- if(a[i] != b[i]) return a[i] - b[i];
- }
- return a[i] - b[i];
-}