summaryrefslogtreecommitdiff
path: root/src/user/lib/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/string.c')
-rw-r--r--src/user/lib/string.c5
1 files changed, 1 insertions, 4 deletions
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 <ctype.h>
#include <errno.h>
#include <string.h>
-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;