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/init/syscalls.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/init/syscalls.c') 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 #include -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(); -- cgit v1.2.3