aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-16 19:41:04 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-16 19:41:04 +0000
commita147d62bf9d16db97d74ae2c65f43bd41493b06c (patch)
tree03fbc7d68136deb1d4c1dd2823839984345beb85
parentfix screendump (Stefano Stabellini) (diff)
downloadqemu-kvm-a147d62bf9d16db97d74ae2c65f43bd41493b06c.tar.gz
qemu-kvm-a147d62bf9d16db97d74ae2c65f43bd41493b06c.tar.bz2
qemu-kvm-a147d62bf9d16db97d74ae2c65f43bd41493b06c.zip
Fix warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6346 c046a42c-6fe2-441c-8c8c-71466251a162
-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 a37edf707..3950d2006 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 cc241ead6..5f0366167 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,