Be sure to add "void" to all function prototypes that take no args.
[seabios.git] / src / util.c
index 552f944bbcb8e130db71b2a0f7364c5482cb7af6..b89a2b5b756f589634040455a351f6d8b221083d 100644 (file)
@@ -66,7 +66,7 @@ ASM16(
     );
 
 void
-check_irqs()
+check_irqs(void)
 {
     if (MODE16) {
         asm volatile(
@@ -288,7 +288,7 @@ biosusleep(u32 usec)
 
 // See if a keystroke is pending in the keyboard buffer.
 static int
-check_for_keystroke()
+check_for_keystroke(void)
 {
     struct bregs br;
     memset(&br, 0, sizeof(br));
@@ -300,7 +300,7 @@ check_for_keystroke()
 
 // Return a keystroke - waiting forever if necessary.
 static int
-get_raw_keystroke()
+get_raw_keystroke(void)
 {
     struct bregs br;
     memset(&br, 0, sizeof(br));