diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-16 19:41:04 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-16 19:41:04 +0000 |
commit | a147d62bf9d16db97d74ae2c65f43bd41493b06c (patch) | |
tree | 03fbc7d68136deb1d4c1dd2823839984345beb85 | |
parent | e07d630ad249ca142edf3c0d7b1eb03d43b8002d (diff) |
Fix warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6346 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | console.c | 3 | ||||
-rw-r--r-- | hw/ppc440_bamboo.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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, |