Be sure to add "void" to all function prototypes that take no args.
[seabios.git] / src / pci.c
index 143acf634910c32a7a9616c5aec23253965c4c03..1ab3c2c56b3c0c798069c27a6ba72036a0f1cef3 100644 (file)
--- a/src/pci.c
+++ b/src/pci.c
@@ -104,7 +104,7 @@ pci_next(int bdf, int *pmax)
 
 // Find a vga device with legacy address decoding enabled.
 int
-pci_find_vga()
+pci_find_vga(void)
 {
     int bdf = 0x0000, max = 0x0100;
     for (;;) {