diff options
-rw-r--r-- | src/init/main.c | 2 | ||||
-rw-r--r-- | src/init/syscalls.c | 2 | ||||
-rw-r--r-- | src/kernel/syscalls.c | 2 | ||||
-rw-r--r-- | src/shared/syscalls.h (renamed from src/kernel/syscalls.h) | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/src/init/main.c b/src/init/main.c index 7c1c882..06ac3a2 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -1,5 +1,5 @@ -#include <kernel/syscalls.h> #include <shared/magic.h> +#include <shared/syscalls.h> #include <stdint.h> // takes a cstring and copies it right before a page boundary diff --git a/src/init/syscalls.c b/src/init/syscalls.c index 9422e79..8d87beb 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -1,5 +1,5 @@ // this file could probably just get generated by a script -#include <kernel/syscalls.h> +#include <shared/syscalls.h> int _syscall(int, int, int, int); diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 9e64b01..7544174 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -2,8 +2,8 @@ #include <kernel/mem.h> #include <kernel/panic.h> #include <kernel/proc.h> -#include <kernel/syscalls.h> #include <kernel/vfs/path.h> +#include <shared/syscalls.h> #include <stdint.h> _Noreturn static void await_finish(struct process *dead, struct process *listener) { diff --git a/src/kernel/syscalls.h b/src/shared/syscalls.h index c390c73..89907ae 100644 --- a/src/kernel/syscalls.h +++ b/src/shared/syscalls.h @@ -1,4 +1,3 @@ -// note: this file gets included in both kernel and userland #pragma once #include <stddef.h> |