diff options
author | dzwdz | 2021-08-24 17:12:57 +0200 |
---|---|---|
committer | dzwdz | 2021-08-24 17:12:57 +0200 |
commit | 3b8b07ee2eb21e043a56cdc548e2be34857adb00 (patch) | |
tree | 0871986db06db00352ceccd80680ba37e4ef56e0 /src/kernel/syscalls.c | |
parent | 31c1536e68399a199a09fa55571fa5bdd92cbef7 (diff) |
replace () with (void) in function definitions
`()` means that any amt of arguments will be accepted, which isn't what
i want
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r-- | src/kernel/syscalls.c | 2 |
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; |