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:
zwelch 2009-05-31 04:58:51 +00:00
parent 12df0f0090
commit 55f21192b0
2 changed files with 1 additions and 3 deletions

View File

@ -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_gdb_program_config , .name = "old-gdb_program_config" },
{ .value = TARGET_EVENT_OLD_pre_resume , .name = "old-pre_resume" }, { .value = TARGET_EVENT_OLD_pre_resume , .name = "old-pre_resume" },

View File

@ -318,8 +318,6 @@ enum target_event
TARGET_EVENT_GDB_FLASH_WRITE_END, TARGET_EVENT_GDB_FLASH_WRITE_END,
}; };
extern const Jim_Nvp nvp_target_event[];
struct target_event_action_s { struct target_event_action_s {
enum target_event event; enum target_event event;
Jim_Obj *body; Jim_Obj *body;