Received: from eggs.gnu.org ([2001:4830:134:3::10]:37102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPFTf-0001AY-AJ for qemu-devel@nongnu.org; Sun, 16 Mar 2014 14:08:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPFTa-00045h-EV for qemu-devel@nongnu.org; Sun, 16 Mar 2014 14:08:03 -0400 From: Stefan Weil Date: Sun, 16 Mar 2014 19:07:55 +0100 Message-Id: <1394993275-23154-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] target-arm: Add missing 'static' attribute List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org Cc: Peter Maydell , qemu-devel@nongnu.org, Stefan Weil This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil --- 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