Skip to contentSkip to conversation

[6346] Fix warnings

Qemu-devel Blue Swirl 1 participant 1 message Jan 16, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6346

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6346
Author:   blueswir1
Date:     2009-01-16 19:41:04 +0000 (Fri, 16 Jan 2009)

Log Message:
-----------
Fix warnings

Modified Paths:
--------------

    trunk/console.c
    trunk/hw/ppc440_bamboo.c

Modified: trunk/console.c
===================================================================

console.c +2 -1
@@ -1190,7 +1190,8 @@
     }
 }
 
-static TextConsole *get_graphic_console() {
+static TextConsole *get_graphic_console(void)
+{
     int i;
     TextConsole *s;
     for (i = 0; i < nb_consoles; i++) {

Modified: trunk/hw/ppc440_bamboo.c
===================================================================

hw/ppc440_bamboo.c +1 -1
@@ -84,7 +84,7 @@
 }
 
 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,