From 63e86f792167e6cc2e9600d00b184a3c83fe7498 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 5 Nov 2020 17:30:39 +0100 Subject: Added warning flags and fixed them :) --- libc/inc/cpu.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libc/inc/cpu.h') diff --git a/libc/inc/cpu.h b/libc/inc/cpu.h index e742390..033743d 100644 --- a/libc/inc/cpu.h +++ b/libc/inc/cpu.h @@ -18,14 +18,14 @@ void outl(u16 port, u32 data); void cpuid(int code, u32 *a, u32 *b, u32 *c, u32 *d); char *cpu_string(char buf[12]); -void cpu_print(); +void cpu_print(void); #ifdef kernel -void cli(); -void sti(); -void hlt(); -void idle(); -void loop(); +void cli(void); +void sti(void); +void hlt(void); +void idle(void); +void loop(void); #endif static inline void spinlock(int *ptr) -- cgit v1.2.3