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/main.c | |
parent | 7a29c68ce0dc190cd6350746210441bc41d7da91 (diff) |
user: move the POSIX-y stuff to the proper header files
Diffstat (limited to 'src/user/app/init/main.c')
-rw-r--r-- | src/user/app/init/main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/user/app/init/main.c b/src/user/app/init/main.c index 772a9e3..9c664a0 100644 --- a/src/user/app/init/main.c +++ b/src/user/app/init/main.c @@ -1,18 +1,15 @@ +#include "driver/driver.h" #include <camellia/flags.h> #include <camellia/syscalls.h> #include <stdint.h> -#include <user/app/init/driver/driver.h> -#include <user/app/init/shell.h> -#include <user/app/init/tests/main.h> +#include <stdio.h> +#include <unistd.h> #include <user/lib/elfload.h> #include <user/lib/fs/misc.h> -#include <user/lib/stdlib.h> __attribute__((visibility("hidden"))) extern char _image_base[]; -void read_file(const char *path, size_t len); - __attribute__((section(".text.startup"))) int main(void) { elf_selfreloc(); |