Skip to contentSkip to conversation

[5013] Use C99 initializers

Qemu-devel Aurelien Jarno 1 participant 1 message Aug 15, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5013

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5013
Author:   aurel32
Date:     2008-08-15 21:30:28 +0000 (Fri, 15 Aug 2008)

Log Message:
-----------
Use C99 initializers

Modified Paths:
--------------
trunk/hw/pc.c

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

hw/pc.c +8 -8
@@ -1069,15 +1069,15 @@
 }
 
 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,
 };