aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/syscall.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h
index 98a57f2..03eda0b 100644
--- a/sys/include/sys/syscall.h
+++ b/sys/include/sys/syscall.h
@@ -47,11 +47,10 @@ struct syscall_args {
uint64_t arg0, arg1, arg2, arg3, arg4;
uint64_t ip;
uint64_t sp;
- uint64_t ret;
};
#if defined(_KERNEL)
-extern void(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args);
+extern uint64_t(*g_syscall_table[__MAX_SYSCALLS])(struct syscall_args *args);
void __syscall(struct trapframe *tf);
#endif