]> Git Repo - qemu.git/blobdiff - target-i386/cpu.c
target-i386: Add missing 'static' and 'const' attributes
[qemu.git] / target-i386 / cpu.c
index e7e62c5897cf3658aaae99c455d3c881edafba47..8fd1497dc4e438fcf7914f4eae89a9f25f55b81a 100644 (file)
@@ -316,7 +316,7 @@ typedef struct X86RegisterInfo32 {
 
 #define REGISTER(reg) \
     [R_##reg] = { .name = #reg, .qapi_enum = X86_CPU_REGISTER32_##reg }
-X86RegisterInfo32 x86_reg_info_32[CPU_NB_REGS32] = {
+static const X86RegisterInfo32 x86_reg_info_32[CPU_NB_REGS32] = {
     REGISTER(EAX),
     REGISTER(ECX),
     REGISTER(EDX),
This page took 0.02461 seconds and 4 git commands to generate.