Make nvp_target_event static; remove its external declaration.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1957 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
12df0f0090
commit
55f21192b0
|
@ -150,7 +150,7 @@ const char *target_strerror_safe( int err )
|
|||
}
|
||||
}
|
||||
|
||||
const Jim_Nvp nvp_target_event[] = {
|
||||
static const Jim_Nvp nvp_target_event[] = {
|
||||
{ .value = TARGET_EVENT_OLD_gdb_program_config , .name = "old-gdb_program_config" },
|
||||
{ .value = TARGET_EVENT_OLD_pre_resume , .name = "old-pre_resume" },
|
||||
|
||||
|
|
|
@ -318,8 +318,6 @@ enum target_event
|
|||
TARGET_EVENT_GDB_FLASH_WRITE_END,
|
||||
};
|
||||
|
||||
extern const Jim_Nvp nvp_target_event[];
|
||||
|
||||
struct target_event_action_s {
|
||||
enum target_event event;
|
||||
Jim_Obj *body;
|
||||
|
|
Loading…
Reference in New Issue