summaryrefslogtreecommitdiff
path: root/src/kernel/proc.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/proc.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/proc.c')
-rw-r--r--src/kernel/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index 15e1ef9..cc6e599 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -10,7 +10,7 @@ struct process *process_first;
struct process *process_current;
uint32_t next_pid = 0;
-struct process *process_seed() {
+struct process *process_seed(void) {
struct process *proc = kmalloc(sizeof(struct process));
proc->pages = pagedir_new();
proc->state = PS_RUNNING;
@@ -61,7 +61,7 @@ void process_switch(struct process *proc) {
sysexit(proc->regs);
}
-_Noreturn void process_switch_any() {
+_Noreturn void process_switch_any(void) {
struct process *found = process_find(PS_RUNNING);
if (found)
process_switch(found);