diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-31 04:58:51 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-31 04:58:51 +0000 |
commit | 55f21192b0e0ae82cee6b69eb87b501acf414751 (patch) | |
tree | 542d3e05a330f8642bafb05d2f903b854ad137c3 | |
parent | 12df0f00908d849e79fafa4d34065fc11290c8fa (diff) | |
download | openocd_libswd-55f21192b0e0ae82cee6b69eb87b501acf414751.tar.gz openocd_libswd-55f21192b0e0ae82cee6b69eb87b501acf414751.tar.bz2 openocd_libswd-55f21192b0e0ae82cee6b69eb87b501acf414751.tar.xz openocd_libswd-55f21192b0e0ae82cee6b69eb87b501acf414751.zip |
Make nvp_target_event static; remove its external declaration.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1957 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/target.c | 2 | ||||
-rw-r--r-- | src/target/target.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/target/target.c b/src/target/target.c index 98831217..aa3705a0 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -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" }, diff --git a/src/target/target.h b/src/target/target.h index 13b463ca..09f8e9c3 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -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; |