aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-04 07:22:29 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-04 07:22:29 +0000
commit2bfdab638a463da3e3a7d399b3bf3162f4ed08df (patch)
tree251629104153cab9cd64eeb4fed3c3c7f9cce40f
parent3b3fb32229c3dae1f399e3ebf45a6553c6824e07 (diff)
downloadqemu-2bfdab638a463da3e3a7d399b3bf3162f4ed08df.zip
qemu-2bfdab638a463da3e3a7d399b3bf3162f4ed08df.tar.gz
qemu-2bfdab638a463da3e3a7d399b3bf3162f4ed08df.tar.bz2
Move nographic export to sysemu.h
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5414 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/fw_cfg.c1
-rw-r--r--hw/sun4m.c2
-rw-r--r--hw/sun4u.c2
-rw-r--r--sysemu.h1
4 files changed, 1 insertions, 5 deletions
diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index 0012d10..4e68670 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -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)
diff --git a/hw/sun4m.c b/hw/sun4m.c
index 697c76d..079439a 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -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,
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 432e5d8..87669ea 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -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,
diff --git a/sysemu.h b/sysemu.h
index 931ac3a..143fe9b 100644
--- 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;