diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 16:46:01 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 16:46:01 +0800 |
commit | 0f3bbcf09683904c1f21b6961cbb0f36b07043c0 (patch) | |
tree | f092036450d2a9c3d26a7a3a322b5ffbea32f879 /src | |
parent | 263b4b9057b4e34eec8b39c4f165d370cb51a9e3 (diff) | |
download | openocd_libswd-0f3bbcf09683904c1f21b6961cbb0f36b07043c0.tar.gz openocd_libswd-0f3bbcf09683904c1f21b6961cbb0f36b07043c0.tar.bz2 openocd_libswd-0f3bbcf09683904c1f21b6961cbb0f36b07043c0.tar.xz openocd_libswd-0f3bbcf09683904c1f21b6961cbb0f36b07043c0.zip |
ARMV4_5: review scope of data
Add "static" qualifier to private data.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/target/arm.h | 2 | ||||
-rw-r--r-- | src/target/armv4_5.c | 2 |
2 files changed, 1 insertions, 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", }; |