Be sure to add "void" to all function prototypes that take no args.
[seabios.git] / src / ps2port.c
index 150529bc2124c67d6082276afda991ef48f9ce94..fb9d24ae092f89a44079d940a147e2a6505a0dcf 100644 (file)
@@ -304,7 +304,7 @@ aux_command(int command, u8 *param)
  ****************************************************************/
 
 static void
-process_ps2irq()
+process_ps2irq(void)
 {
     u8 status = inb(PORT_PS2_STATUS);
     if (!(status & I8042_STR_OBF)) {
@@ -318,7 +318,7 @@ process_ps2irq()
 
 // INT74h : PS/2 mouse hardware interrupt
 void VISIBLE16
-handle_74()
+handle_74(void)
 {
     if (! CONFIG_PS2PORT)
         return;
@@ -330,7 +330,7 @@ handle_74()
 
 // INT09h : Keyboard Hardware Service Entry Point
 void VISIBLE16
-handle_09()
+handle_09(void)
 {
     if (! CONFIG_PS2PORT)
         return;
@@ -346,7 +346,7 @@ handle_09()
  ****************************************************************/
 
 static void
-keyboard_init()
+keyboard_init(void *data)
 {
     /* flush incoming keys */
     int ret = i8042_flush();
@@ -414,7 +414,7 @@ keyboard_init()
 }
 
 void
-ps2port_setup()
+ps2port_setup(void)
 {
     if (! CONFIG_PS2PORT)
         return;