Fix warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6346 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-01-16 19:41:04 +00:00
parent e07d630ad2
commit a147d62bf9
2 changed files with 3 additions and 2 deletions

View File

@ -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++) {

View File

@ -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,