diff options
author | Marvin Borner | 2020-11-05 17:30:39 +0100 |
---|---|---|
committer | Marvin Borner | 2020-11-05 17:32:53 +0100 |
commit | 63e86f792167e6cc2e9600d00b184a3c83fe7498 (patch) | |
tree | 31e2d583be3ebf34782f6ec37f6c524657c40686 /libc/inc/cpu.h | |
parent | 916fca2161e76de67a5106b90baf00a57f2a0512 (diff) |
Added warning flags and fixed them :)
Diffstat (limited to 'libc/inc/cpu.h')
-rw-r--r-- | libc/inc/cpu.h | 12 |
1 files changed, 6 insertions, 6 deletions
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) |