summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-06-09 23:34:41 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-13 19:19:25 -0500
commit11be4b3e01a9c06b2f6b65af6597a5a318fdc204 (patch)
treec856b8b2ff9dd098a1fb3eaca8184d64779dd60c /hw
parent678e12cc9054e8a9eafc43a5b4b65d335d6651d4 (diff)
downloadqemu-11be4b3e01a9c06b2f6b65af6597a5a318fdc204.tar.gz
qemu-11be4b3e01a9c06b2f6b65af6597a5a318fdc204.tar.bz2
qemu-11be4b3e01a9c06b2f6b65af6597a5a318fdc204.zip
Add static to local machine declaration.
Variable akitapda_machine is only used locally, so the static attribute avoids a compiler warning. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/spitz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spitz.c b/hw/spitz.c
index bfab06ad4a..4da70609f5 100644
--- a/hw/spitz.c
+++ b/hw/spitz.c
@@ -1037,7 +1037,7 @@ static void terrier_init(ram_addr_t ram_size,
kernel_cmdline, initrd_filename, cpu_model, terrier, 0x33f);
}
-QEMUMachine akitapda_machine = {
+static QEMUMachine akitapda_machine = {
.name = "akita",
.desc = "Akita PDA (PXA270)",
.init = akita_init,