projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb4e01
)
target-arm: Add missing 'static' attribute
author
Stefan Weil
<sw@weilnetz.de>
Sun, 16 Mar 2014 18:07:55 +0000
(19:07 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Thu, 27 Mar 2014 15:22:48 +0000
(19:22 +0400)
This fixes a warning from the static code analysis (smatch).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target-arm/machine.c
patch
|
blob
|
history
diff --git
a/target-arm/machine.c
b/target-arm/machine.c
index 8f9e7d4d28f897647d789317009061dc57022a06..7ced87af580edc7c1dd63e7e6921d16279a04db3 100644
(file)
--- a/
target-arm/machine.c
+++ b/
target-arm/machine.c
@@
-88,7
+88,7
@@
static bool m_needed(void *opaque)
return arm_feature(env, ARM_FEATURE_M);
}
-const VMStateDescription vmstate_m = {
+
static
const VMStateDescription vmstate_m = {
.name = "cpu/m",
.version_id = 1,
.minimum_version_id = 1,