mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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:
parent
08cf99629d
commit
a443bc3496
2 changed files with 2 additions and 2 deletions
|
@ -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[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue