aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-03-16 19:07:55 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-03-27 19:22:48 +0400
commit6df05bdd172d26b699fecf162c277286579f2c16 (patch)
treef2168a7fd740ba019775d1294324cac02556322a /target-arm
parentecb4e01e3449074576ae866c4547b5ff3849ddd7 (diff)
target-arm: Add missing 'static' attribute
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>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/machine.c b/target-arm/machine.c
index 8f9e7d4d28..7ced87af58 100644
--- 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,