From 95c4d23af122131fd0f83dee70e9cce65c46d49f Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 14 Aug 2022 12:30:23 +0200 Subject: user/libc: ctype.h --- src/user/lib/string.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/user/lib/string.c') diff --git a/src/user/lib/string.c b/src/user/lib/string.c index a6ac75b..9c347d0 100644 --- a/src/user/lib/string.c +++ b/src/user/lib/string.c @@ -1,10 +1,7 @@ +#include #include #include -int isspace(char c) { - return c == ' ' || c == '\t' || c == '\n'; -} - long strtol(const char *restrict s, char **restrict end, int base) { long res = 0; int sign = 1; -- cgit v1.2.3