summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/target.c2
-rw-r--r--src/target/target.h2
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;