summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/pagedir.c
diff options
context:
space:
mode:
authordzwdz2021-08-24 17:12:57 +0200
committerdzwdz2021-08-24 17:12:57 +0200
commit3b8b07ee2eb21e043a56cdc548e2be34857adb00 (patch)
tree0871986db06db00352ceccd80680ba37e4ef56e0 /src/kernel/arch/i386/pagedir.c
parent31c1536e68399a199a09fa55571fa5bdd92cbef7 (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/i386/pagedir.c')
-rw-r--r--src/kernel/arch/i386/pagedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/pagedir.c b/src/kernel/arch/i386/pagedir.c
index 61ad170..486d2a2 100644
--- a/src/kernel/arch/i386/pagedir.c
+++ b/src/kernel/arch/i386/pagedir.c
@@ -39,7 +39,7 @@ struct pagedir {
} __attribute__((packed));
-struct pagedir *pagedir_new() {
+struct pagedir *pagedir_new(void) {
struct pagedir *dir = page_alloc(1);
for (int i = 0; i < 1024; i++)
dir->e[i].present = 0;