X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=0cee1170f8396a8672982439d72f79739858db22;hp=4faf3119f6a02efb9fb864eabbb8e8e7674743d6;hb=f19ac83152b54a204b8148815a538d868973e1e1;hpb=d28ab08cfafb3ad7ff8dc539644883217e89f8c4;ds=sidebyside diff --git a/src/target/target.h b/src/target/target.h index 4faf3119f6..0cee1170f8 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -25,13 +25,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef TARGET_H -#define TARGET_H +#ifndef OPENOCD_TARGET_TARGET_H +#define OPENOCD_TARGET_TARGET_H #include @@ -177,7 +175,7 @@ struct target { int display; /* display async info in telnet session. Do not display * lots of halted/resumed info when stepping in debugger. */ bool halt_issued; /* did we transition to halted state? */ - long long halt_issued_time; /* Note time when halt was issued */ + int64_t halt_issued_time; /* Note time when halt was issued */ bool dbgbase_set; /* By default the debug base is not set */ uint32_t dbgbase; /* Really a Cortex-A specific option, but there is no @@ -685,4 +683,4 @@ void target_handle_event(struct target *t, enum target_event e); extern bool get_target_reset_nag(void); -#endif /* TARGET_H */ +#endif /* OPENOCD_TARGET_TARGET_H */