From 06f089b35046342fca2c30040749c632785ce6c6 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 14 Sep 2021 20:35:35 +0200 Subject: merge the `syscall_handler` and `_syscall` declarations i think that making the call a bit more "transparent" makes the code nicer --- src/shared/syscalls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared') diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index e8e0843..11abf66 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -27,6 +27,8 @@ enum { _SYSCALL_MEMFLAG, }; +int _syscall(int, int, int, int, int); + /** Kills the current process. * TODO: what happens to the children? */ -- cgit v1.2.3