Move nographic export to sysemu.h
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 4 Oct 2008 07:22:29 +0000 (07:22 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 4 Oct 2008 07:22:29 +0000 (07:22 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5414 c046a42c-6fe2-441c-8c8c-71466251a162

hw/fw_cfg.c
hw/sun4m.c
hw/sun4u.c
sysemu.h

index 0012d1010b3c86f6b7f848078af006e086498d0a..4e686702a3d5c1d5b8887edc33a25c6aa2c1bef2 100644 (file)
@@ -259,7 +259,6 @@ void *fw_cfg_init(uint32_t ctl_port, uint32_t data_port,
 {
     FWCfgState *s;
     int io_ctl_memory, io_data_memory;
-    extern int nographic;
 
     s = qemu_mallocz(sizeof(FWCfgState));
     if (!s)
index 697c76dcd49c1697e25c7c0d837a98cbcd932a6a..079439a46fc594a61d620d0a06b2c1085aed81c9 100644 (file)
@@ -175,8 +175,6 @@ static int nvram_boot_set(void *opaque, const char *boot_device)
     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,
index 432e5d8b09b5b178aebaff2b9b886bd55f76aae9..87669ea0945babd470f9b7ca4a6bfbba27e45e91 100644 (file)
@@ -108,8 +108,6 @@ static int nvram_boot_set(void *opaque, const char *boot_device)
     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,
index 931ac3a91be45a680d5c296e22328268b456ce44..143fe9b9d9e1d77497a30e6c214490c815efed22 100644 (file)
--- a/sysemu.h
+++ b/sysemu.h
@@ -78,6 +78,7 @@ extern int vmsvga_enabled;
 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;