X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=fb9d7146587362e7ded1527ce20dbc4270daf9f2;hb=ff5d13a5f8940d8d6e9d097dc10af0dcf6d82f34;hp=d7961313887bcd5795b488c7e6a03d52ffbaa87c;hpb=4ab75a3634901c4e3897d771e2c75a64c7353c28;p=openocd.git diff --git a/src/target/target.h b/src/target/target.h index d796131388..fb9d714658 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -396,6 +396,7 @@ int target_call_timer_callbacks_now(void); struct target *get_target_by_num(int num); struct target *get_current_target(struct command_context *cmd_ctx); +struct target *get_current_target_or_null(struct command_context *cmd_ctx); struct target *get_target(const char *id); /**