From 3b8b07ee2eb21e043a56cdc548e2be34857adb00 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 24 Aug 2021 17:12:57 +0200 Subject: replace () with (void) in function definitions `()` means that any amt of arguments will be accepted, which isn't what i want --- src/shared/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/syscalls.h') diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index 89907ae..9eb3fa5 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -32,7 +32,7 @@ int _syscall_await(char *buf, int len); * All user memory pages get copied too. * @return 0 in the child, a meaningless positive value in the parent. */ -int _syscall_fork(); +int _syscall_fork(void); fd_t _syscall_fs_open(const char *path, int len); int _syscall_mount(const char *path, int len, fd_t fd); -- cgit v1.2.3