qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] target-arm: Add missing 'static' attribute


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] target-arm: Add missing 'static' attribute
Date: Sun, 16 Mar 2014 19:07:55 +0100

This fixes a warning from the static code analysis (smatch).

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

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,
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]