OSDN Git Service

target-arm: Add missing 'static' attribute
authorStefan Weil <sw@weilnetz.de>
Sun, 16 Mar 2014 18:07:55 +0000 (19:07 +0100)
committerMichael 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

index 8f9e7d4..7ced87a 100644 (file)
@@ -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,