summaryrefslogtreecommitdiff
path: root/src/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/include')
-rw-r--r--src/sys/include/compat/unix/syscall.h5
-rw-r--r--src/sys/include/sys/proc.h5
2 files changed, 5 insertions, 5 deletions
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 <sys/param.h>
#include <sys/syscall.h>
+/*
+ * 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,
diff --git a/src/sys/include/sys/proc.h b/src/sys/include/sys/proc.h
index cf00850..2ff2876 100644
--- a/src/sys/include/sys/proc.h
+++ b/src/sys/include/sys/proc.h
@@ -159,10 +159,5 @@ __dead void md_proc_yield(void);
*/
__dead void md_proc_kick(struct proc *procp);
-/*
- * Exit the current process - exit(2) syscall
- */
-scret_t sys_exit(struct syscall_args *scargs);
-
#endif /* !_KERNEL */
#endif /* !_SYS_PROC_H_ */