diff options
author | dzwdz | 2022-07-26 19:31:06 +0200 |
---|---|---|
committer | dzwdz | 2022-07-26 19:31:06 +0200 |
commit | a3e27d361919392eeb0086ed93b105d8301c7913 (patch) | |
tree | 91996a17172b650416bda82a472336b9d0edcdf0 /src/user/app/init/shell.c | |
parent | 7a29c68ce0dc190cd6350746210441bc41d7da91 (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.c | 8 |
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'; |