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/proc.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/proc.h')
-rw-r--r-- | src/kernel/proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 0a1a42c..87fed14 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -37,9 +37,9 @@ extern struct process *process_first; extern struct process *process_current; // creates the root process -struct process *process_seed(); +struct process *process_seed(void); struct process *process_fork(struct process *parent); _Noreturn void process_switch(struct process *proc); -_Noreturn void process_switch_any(); // switches to any running process +_Noreturn void process_switch_any(void); // switches to any running process struct process *process_find(enum process_state); |