aboutsummaryrefslogtreecommitdiff
path: root/libc/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/cpu.c')
-rw-r--r--libc/cpu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/cpu.c b/libc/cpu.c
index 1f0b7e4..52c0280 100644
--- a/libc/cpu.c
+++ b/libc/cpu.c
@@ -76,35 +76,35 @@ char *cpu_string(char buf[13])
return buf;
}
-void cpu_print()
+void cpu_print(void)
{
char buf[13] = { 0 };
printf("%s\n", cpu_string(buf));
}
#ifdef kernel
-void cli()
+void cli(void)
{
__asm__ volatile("cli");
}
-void sti()
+void sti(void)
{
__asm__ volatile("sti");
}
-void hlt()
+void hlt(void)
{
__asm__ volatile("hlt");
}
-void idle()
+void idle(void)
{
while (1)
hlt();
}
-void loop()
+void loop(void)
{
cli();
idle();