From a9710cb73cc9ecadaff241428a39a26935cb5c0a Mon Sep 17 00:00:00 2001
From: Marvin Borner
Date: Thu, 25 Feb 2021 20:45:10 +0100
Subject: Applied even more warning flags!

Fixing all the warnings wasn't that easy actually..
---
 kernel/inc/proc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'kernel/inc/proc.h')

diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index cd74b40..a232f46 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -30,7 +30,7 @@ struct proc_wait_identifier {
 	u32 magic;
 	u32 id;
 	enum proc_wait_type type;
-	s32 (*func)();
+	u32 func_ptr;
 };
 
 struct proc_wait {
@@ -63,9 +63,9 @@ u8 proc_super(void);
 struct proc *proc_from_pid(u32 pid);
 void proc_exit(struct proc *proc, int status);
 void proc_yield(struct regs *r);
-void proc_clear_quantum();
+void proc_clear_quantum(void);
 void proc_enable_waiting(u32 id, enum proc_wait_type type);
-void proc_wait_for(u32 id, enum proc_wait_type type, s32 (*func)());
+void proc_wait_for(u32 id, enum proc_wait_type type, u32 func_ptr);
 struct proc *proc_make(void);
 
 #endif
-- 
cgit v1.2.3