Skip to contentSkip to conversation

[5414] Move nographic export to sysemu.h

Qemu-devel Blue Swirl 1 participant 1 message Oct 4, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 5414

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5414
Author:   blueswir1
Date:     2008-10-04 07:22:29 +0000 (Sat, 04 Oct 2008)

Log Message:
-----------
Move nographic export to sysemu.h

Modified Paths:
--------------
trunk/hw/fw_cfg.c
trunk/hw/sun4m.c
trunk/hw/sun4u.c
trunk/sysemu.h

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

hw/fw_cfg.c +0 -1
@@ -259,7 +259,6 @@
 {
     FWCfgState *s;
     int io_ctl_memory, io_data_memory;
-    extern int nographic;
 
     s = qemu_mallocz(sizeof(FWCfgState));
     if (!s)

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

hw/sun4m.c +0 -2
@@ -175,8 +175,6 @@
     return 0;
 }
 
-extern int nographic;
-
 static void nvram_init(m48t59_t *nvram, uint8_t *macaddr, const char *cmdline,
                        const char *boot_devices, ram_addr_t RAM_size,
                        uint32_t kernel_size,

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

hw/sun4u.c +0 -2
@@ -108,8 +108,6 @@
     return 0;
 }
 
-extern int nographic;
-
 static int sun4u_NVRAM_set_params (m48t59_t *nvram, uint16_t NVRAM_size,
                                    const char *arch,
                                    ram_addr_t RAM_size,

Modified: trunk/sysemu.h
===================================================================

sysemu.h +1 -0
@@ -78,6 +78,7 @@
 extern int graphic_width;
 extern int graphic_height;
 extern int graphic_depth;
+extern int nographic;
 extern const char *keyboard_layout;
 extern int win2k_install_hack;
 extern int alt_grab;