Skip to content

Commit

Permalink
target-arm: Add missing 'static' attribute
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil authored and Michael Tokarev committed Mar 27, 2014
1 parent ecb4e01 commit 6df05bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-arm/machine.c
Expand Up @@ -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,
Expand Down

0 comments on commit 6df05bd

Please sign in to comment.