X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=4151c228b6b0479b9cdb1ea0c835803bac38bbd1;hb=adf2a9a267422a2914a50b4a4a35a0e19b25d1c3;hp=dd3d4f7f5f2b0dcb9b74022ac2eb728dcdb3cecb;hpb=bbb754aa395be74ceac0c01640fb33c0fae52c20;p=openocd.git diff --git a/src/target/target.h b/src/target/target.h index dd3d4f7f5f..4151c228b6 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -27,7 +27,6 @@ #define TARGET_H #include -#include struct reg; struct trace; @@ -61,15 +60,11 @@ enum target_state TARGET_DEBUG_RUNNING = 4, }; -extern const Jim_Nvp nvp_target_state[]; - enum nvp_assert { NVP_DEASSERT, NVP_ASSERT, }; -extern const Jim_Nvp nvp_assert[]; - enum target_reset_mode { RESET_UNKNOWN = 0, @@ -78,8 +73,6 @@ enum target_reset_mode RESET_INIT = 3, /* reset and halt target out of reset, then run init script */ }; -extern const Jim_Nvp nvp_reset_mode[]; - enum target_debug_reason { DBG_REASON_DBGRQ = 0, @@ -97,8 +90,6 @@ enum target_endianess TARGET_BIG_ENDIAN = 1, TARGET_LITTLE_ENDIAN = 2 }; -extern const Jim_Nvp nvp_target_endian[]; - struct working_area { uint32_t address; @@ -222,7 +213,7 @@ enum target_event struct target_event_action { enum target_event event; - Jim_Interp *interp; + struct Jim_Interp *interp; struct Jim_Obj *body; int has_percent; struct target_event_action *next; @@ -490,8 +481,6 @@ void target_all_handle_event(enum target_event e); #define ERROR_TARGET_NOT_RUNNING (-310) #define ERROR_TARGET_NOT_EXAMINED (-311) -extern const Jim_Nvp nvp_error_target[]; - const char *target_strerror_safe(int err); #endif /* TARGET_H */