ARMV4_5: review scope of data

Add "static" qualifier to private data.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
__archive__
Antonio Borneo 2010-04-10 16:46:01 +08:00
parent 263b4b9057
commit 0f3bbcf096
2 changed files with 1 additions and 3 deletions

View File

@ -80,8 +80,6 @@ enum arm_state {
ARM_STATE_THUMB_EE,
};
extern const char *arm_state_strings[];
#define ARM_COMMON_MAGIC 0x0A450A45
/**

View File

@ -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",
};