From a245f2e7b84c545e6aa5211304679e3081342ec8 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Fri, 15 Aug 2008 21:30:28 +0000 Subject: Use C99 initializers Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5013 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/pc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index fb3e0c9e6d..7461a08049 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -1069,15 +1069,15 @@ static void pc_init_isa(ram_addr_t ram_size, int vga_ram_size, } QEMUMachine pc_machine = { - "pc", - "Standard PC", - pc_init_pci, - VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, + .name = "pc", + .desc = "Standard PC", + .init = pc_init_pci, + .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, }; QEMUMachine isapc_machine = { - "isapc", - "ISA-only PC", - pc_init_isa, - VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, + .name = "isapc", + .desc = "ISA-only PC", + .init = pc_init_isa, + .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, }; -- cgit v1.2.3