From 55f21192b0e0ae82cee6b69eb87b501acf414751 Mon Sep 17 00:00:00 2001 From: zwelch Date: Sun, 31 May 2009 04:58:51 +0000 Subject: Make nvp_target_event static; remove its external declaration. git-svn-id: svn://svn.berlios.de/openocd/trunk@1957 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target.c | 2 +- src/target/target.h | 2 -- 2 files changed, 1 insertion(+), 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; -- cgit v1.2.3