aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:21:51 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-17 20:21:51 +0000
commita5f1b965dae70f7d41721edaacb109d80721b966 (patch)
tree99ae880ed0b785c12107a9744d4446707823ceb4 /hw
parent6f41b7772d84494b47252aaff67a7c16cc37dbe0 (diff)
Fix warnings that would be generated by gcc -Wstrict-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5021 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/mips_malta.c2
-rw-r--r--hw/shix.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index a64e225425..63af965d7c 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -155,7 +155,7 @@ static eeprom24c0x_t eeprom = {
},
};
-static uint8_t eeprom24c0x_read()
+static uint8_t eeprom24c0x_read(void)
{
logout("%u: scl = %u, sda = %u, data = 0x%02x\n",
eeprom.tick, eeprom.scl, eeprom.sda, eeprom.data);
diff --git a/hw/shix.c b/hw/shix.c
index eb75f0cb8c..ff8afece3c 100644
--- a/hw/shix.c
+++ b/hw/shix.c
@@ -45,17 +45,17 @@ void irq_info(void)
/* XXXXX */
}
-void pic_info()
+void pic_info(void)
{
/* XXXXX */
}
-void vga_update_display()
+void vga_update_display(void)
{
/* XXXXX */
}
-void vga_invalidate_display()
+void vga_invalidate_display(void)
{
/* XXXXX */
}