From a3e27d361919392eeb0086ed93b105d8301c7913 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 19:31:06 +0200 Subject: user: move the POSIX-y stuff to the proper header files --- src/user/app/init/main.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/user/app/init/main.c') 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 #include #include -#include -#include -#include +#include +#include #include #include -#include __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(); -- cgit v1.2.3