OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
678e12c
)
Add static to local machine declaration.
author
Stefan Weil
<weil@mail.berlios.de>
Tue, 9 Jun 2009 21:34:41 +0000
(23:34 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Sun, 14 Jun 2009 00:19:25 +0000
(19:19 -0500)
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>
hw/spitz.c
patch
|
blob
|
history
diff --git
a/hw/spitz.c
b/hw/spitz.c
index
bfab06a
..
4da7060
100644
(file)
--- 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,