diff mbox

target-arm: Add missing 'static' attribute

Message ID 1394993275-23154-1-git-send-email-sw@weilnetz.de
State Accepted
Headers show

Commit Message

Stefan Weil March 16, 2014, 6:07 p.m. UTC
This fixes a warning from the static code analysis (smatch).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 target-arm/machine.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tokarev March 17, 2014, 2:44 p.m. UTC | #1
16.03.2014 22:07, Stefan Weil wrote:
> This fixes a warning from the static code analysis (smatch).

Thanks, applied to -trivial.

/mjt
diff mbox

Patch

diff --git a/target-arm/machine.c b/target-arm/machine.c
index 8f9e7d4..7ced87a 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,