aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
authorMarvin Borner2020-11-05 17:30:39 +0100
committerMarvin Borner2020-11-05 17:32:53 +0100
commit63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch)
tree31e2d583be3ebf34782f6ec37f6c524657c40686 /kernel/inc/proc.h
parent916fca2161e76de67a5106b90baf00a57f2a0512 (diff)
Added warning flags and fixed them :)
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 97ee69a..ad95104 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -36,16 +36,16 @@ struct proc_message {
struct proc *kernel_proc;
-void scheduler_enable();
-void scheduler_disable();
-void proc_init();
-void proc_print();
-struct proc *proc_current();
+void scheduler_enable(void);
+void scheduler_disable(void);
+void proc_init(void);
+void proc_print(void);
+struct proc *proc_current(void);
void proc_send(struct proc *src, struct proc *dest, u32 type, void *data);
struct proc_message *proc_receive(struct proc *proc);
struct proc *proc_from_pid(u32 pid);
void proc_exit(struct proc *proc, int status);
void proc_yield(struct regs *r);
-struct proc *proc_make();
+struct proc *proc_make(void);
#endif