diff options
author | dzwdz | 2021-09-14 20:35:35 +0200 |
---|---|---|
committer | dzwdz | 2021-09-14 20:35:35 +0200 |
commit | 06f089b35046342fca2c30040749c632785ce6c6 (patch) | |
tree | 130e78e39b7a3afe091abdc0fcf60141712c2aa4 /src/init | |
parent | 1d0512957e802acfe7b677b30589a4e3bd26fac8 (diff) |
merge the `syscall_handler` and `_syscall` declarations
i think that making the call a bit more "transparent" makes the code
nicer
Diffstat (limited to 'src/init')
-rw-r--r-- | src/init/syscalls.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init/syscalls.c b/src/init/syscalls.c index a5d1024..fb50c35 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -2,8 +2,6 @@ #include <init/types.h> #include <shared/syscalls.h> -int _syscall(int, int, int, int, int); - _Noreturn void _syscall_exit(const char __user *msg, size_t len) { _syscall(_SYSCALL_EXIT, (int)msg, len, 0, 0); __builtin_unreachable(); |