From 0f3bbcf09683904c1f21b6961cbb0f36b07043c0 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 16:46:01 +0800 Subject: [PATCH] ARMV4_5: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- src/target/arm.h | 2 -- src/target/armv4_5.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/target/arm.h b/src/target/arm.h index 99bd9833..ce8cbe19 100644 --- a/src/target/arm.h +++ b/src/target/arm.h @@ -80,8 +80,6 @@ enum arm_state { ARM_STATE_THUMB_EE, }; -extern const char *arm_state_strings[]; - #define ARM_COMMON_MAGIC 0x0A450A45 /** diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index 1e9a2965..eeb6694c 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -217,7 +217,7 @@ enum arm_mode armv4_5_number_to_mode(int number) } } -const char *arm_state_strings[] = +static const char *arm_state_strings[] = { "ARM", "Thumb", "Jazelle", "ThumbEE", }; -- 2.39.5