From d1bba24d86784b05bfedd48b5783ae49bb8cee7b Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 16 Feb 2018 14:31:57 -0500 Subject: [PATCH] target-arm: Add missing 'static' attribute Backports commit 82c39f6a8898b028515eddcdbc4ae50959d0af5d from qemu --- qemu/target-arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target-arm/helper.c b/qemu/target-arm/helper.c index 70893989..1b8df6ee 100644 --- a/qemu/target-arm/helper.c +++ b/qemu/target-arm/helper.c @@ -4555,7 +4555,7 @@ void switch_mode(CPUARMState *env, int mode) * BIT IRQ IMO Non-secure Secure * EL3 FIQ RW FMO EL0 EL1 EL2 EL3 EL0 EL1 EL2 EL3 */ -const int8_t target_el_table[2][2][2][2][2][4] = { +static const int8_t target_el_table[2][2][2][2][2][4] = { {{{{/* 0 0 0 0 */{ 1, 1, 2, -1 },{ 3, -1, -1, 3 },}, {/* 0 0 0 1 */{ 2, 2, 2, -1 },{ 3, -1, -1, 3 },},}, {{/* 0 0 1 0 */{ 1, 1, 2, -1 },{ 3, -1, -1, 3 },},