summaryrefslogtreecommitdiff
path: root/src/user/app/init/shell.c
diff options
context:
space:
mode:
authordzwdz2022-07-26 19:31:06 +0200
committerdzwdz2022-07-26 19:31:06 +0200
commita3e27d361919392eeb0086ed93b105d8301c7913 (patch)
tree91996a17172b650416bda82a472336b9d0edcdf0 /src/user/app/init/shell.c
parent7a29c68ce0dc190cd6350746210441bc41d7da91 (diff)
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/app/init/shell.c')
-rw-r--r--src/user/app/init/shell.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/user/app/init/shell.c b/src/user/app/init/shell.c
index 76a0dbc..0c8b9b4 100644
--- a/src/user/app/init/shell.c
+++ b/src/user/app/init/shell.c
@@ -1,9 +1,11 @@
+#include "shell.h"
+#include "tests/tests.h"
#include <camellia/syscalls.h>
#include <stdbool.h>
-#include <user/app/init/shell.h>
-#include <user/app/init/tests/main.h>
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
#include <user/lib/elfload.h>
-#include <user/lib/stdlib.h>
static bool isspace(char c) {
return c == ' ' || c == '\t' || c == '\n';