target-i386: Add missing 'static' and 'const' attributes

This fixes warnings from the static code analysis (smatch).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Stefan Weil 2014-03-16 15:03:41 +01:00 committed by Michael Tokarev
parent 08cf99629d
commit a443bc3496
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ static struct kvm_cpuid2 *get_supported_cpuid(KVMState *s)
return cpuid;
}
struct kvm_para_features {
static const struct kvm_para_features {
int cap;
int feature;
} para_features[] = {