From e05eb80863e8bccf11e8c8c1503690b634904930 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 17 Aug 2021 22:20:24 +0200 Subject: [PATCH] Removed bloat --- src/kernel/lib/string.c | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 src/kernel/lib/string.c diff --git a/src/kernel/lib/string.c b/src/kernel/lib/string.c deleted file mode 100644 index 7b9dcd4..0000000 --- a/src/kernel/lib/string.c +++ /dev/null @@ -1,8 +0,0 @@ -// Generic String Library -#define INDEX(s, c) (int)(c-s) - -unsigned int length(char* str) { - char* p; - for( p = str; *p != '\0'; p++ ) {} - return (unsigned int)(p-str); -}