X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=da91d464c8db02346a3225ead10b54e405b2cd38;hp=fededb95651890dff987417a4a5ae43f711f9306;hb=4960c9018f2560b11ede91cde8a68dc56c690159;hpb=cbea1ed71febd8cf64482b36381765eaabfc66ec diff --git a/src/target/target.h b/src/target/target.h index fededb9565..da91d464c8 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -2,7 +2,7 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * - * Copyright (C) 2007,2008,2009 Øyvind Harboe * + * Copyright (C) 2007-9 Øyvind Harboe * * oyvind.harboe@zylin.com * * * * Copyright (C) 2008 by Spencer Oliver * @@ -27,7 +27,6 @@ #define TARGET_H #include -#include struct reg; struct trace; @@ -214,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; @@ -484,4 +483,6 @@ void target_all_handle_event(enum target_event e); const char *target_strerror_safe(int err); +extern bool get_target_reset_nag(void); + #endif /* TARGET_H */