summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index 7544174..3383a13 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -59,7 +59,7 @@ int _syscall_await(char *buf, int len) {
process_switch_any();
}
-int _syscall_fork() {
+int _syscall_fork(void) {
struct process *child = process_fork(process_current);
regs_savereturn(&child->regs, 0);
return 1;