summaryrefslogtreecommitdiff
path: root/src/user/app/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/init/main.c')
-rw-r--r--src/user/app/init/main.c9
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();