target-arm: Add missing 'static' attribute
PATCH 1/1 target-arm: Add missing 'static' attribute
This fixes a warning from the static code analysis (smatch).
Signed-off-by Stefan Weil <[email protected]>
--- target-arm/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-arm/machine.c +1 -1
@@ -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 ,
Signature · 1 line
1.7.10.4
Michael Tokarev
AppliedQuoted 1 line · Stefan Weil
This fixes a warning from the static code analysis (smatch).
Thanks, applied to -trivial.
/mjt