|
From: <zw...@ma...> - 2009-05-31 06:58:59
|
Author: zwelch
Date: 2009-05-31 06:58:51 +0200 (Sun, 31 May 2009)
New Revision: 1957
Modified:
trunk/src/target/target.c
trunk/src/target/target.h
Log:
Make nvp_target_event static; remove its external declaration.
Modified: trunk/src/target/target.c
===================================================================
--- trunk/src/target/target.c 2009-05-31 02:18:26 UTC (rev 1956)
+++ trunk/src/target/target.c 2009-05-31 04:58:51 UTC (rev 1957)
@@ -150,7 +150,7 @@
}
}
-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" },
Modified: trunk/src/target/target.h
===================================================================
--- trunk/src/target/target.h 2009-05-31 02:18:26 UTC (rev 1956)
+++ trunk/src/target/target.h 2009-05-31 04:58:51 UTC (rev 1957)
@@ -318,8 +318,6 @@
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;
|