aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console.c3
-rw-r--r--hw/ppc440_bamboo.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/console.c b/console.c
index a37edf7078..3950d20064 100644
--- a/console.c
+++ b/console.c
@@ -1190,7 +1190,8 @@ static void text_console_update(void *opaque, console_ch_t *chardata)
}
}
-static TextConsole *get_graphic_console() {
+static TextConsole *get_graphic_console(void)
+{
int i;
TextConsole *s;
for (i = 0; i < nb_consoles; i++) {
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index cc241ead69..5f03661672 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -84,7 +84,7 @@ out:
}
static void bamboo_init(ram_addr_t ram_size, int vga_ram_size,
- const char *boot_device, DisplayState *ds,
+ const char *boot_device,
const char *kernel_filename,
const char *kernel_cmdline,
const char *initrd_filename,