From 954389acc4fdda1b6dbd3e9c3cf6d5767af40a84 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 20 Sep 2025 20:51:50 -0400 Subject: kern: proc: Move sys_exit() to sys/compat/unix/* Signed-off-by: Ian Moffett --- src/sys/include/compat/unix/syscall.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/sys/include/compat/unix') diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h index 8d0af91..2bb699a 100644 --- a/src/sys/include/compat/unix/syscall.h +++ b/src/sys/include/compat/unix/syscall.h @@ -34,6 +34,11 @@ #include #include +/* + * Exit the current process - exit(2) syscall + */ +scret_t sys_exit(struct syscall_args *scargs); + #ifdef _NEED_UNIX_SCTAB scret_t(*g_unix_sctab[])(struct syscall_args *) = { [SYS_none] = NULL, -- cgit v1.2.3