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/arch/generic.h | |
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/arch/generic.h')
-rw-r--r-- | src/kernel/arch/generic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h index 1427658..1fa716b 100644 --- a/src/kernel/arch/generic.h +++ b/src/kernel/arch/generic.h @@ -13,14 +13,14 @@ extern char _bss_end; __attribute__((noreturn)) -void halt_cpu(); +void halt_cpu(void); // src/arch/i386/sysenter.s _Noreturn void sysexit(struct registers); int syscall_handler(int, int, int, int); // all of those can allocate memory -struct pagedir *pagedir_new(); +struct pagedir *pagedir_new(void); struct pagedir *pagedir_copy(const struct pagedir *orig); void pagedir_map(struct pagedir *dir, void *virt, void *phys, bool user, bool writeable); |