aboutsummaryrefslogtreecommitdiff
path: root/pk/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'pk/syscall.h')
-rw-r--r--pk/syscall.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pk/syscall.h b/pk/syscall.h
index d39a6a3..f759e83 100644
--- a/pk/syscall.h
+++ b/pk/syscall.h
@@ -1,4 +1,6 @@
// See LICENSE for license details.
-
#include <machine/syscall.h>
+
+void sys_exit(int code) __attribute__((noreturn));
+sysret_t syscall(long a0, long a1, long a2, long a3, long a4, long a5, long n);