X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.c;h=e8f91def47ae8cc3481112d6b2540483d3ab37df;hp=f56fbc44e6eef69294fc896fd0cbca40c2257927;hb=72b421418f315cb54a01ba4d249082f989d5154a;hpb=e7f65c5a116802c4e510fe212b26e9a020de0b3e;ds=sidebyside diff --git a/src/target/target.c b/src/target/target.c index f56fbc44e6..e8f91def47 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -611,12 +611,12 @@ int target_remove_breakpoint(struct target_s *target, } int target_add_watchpoint(struct target_s *target, - struct watchpoint_s *watchpoint) + struct watchpoint *watchpoint) { return target->type->add_watchpoint(target, watchpoint); } int target_remove_watchpoint(struct target_s *target, - struct watchpoint_s *watchpoint) + struct watchpoint *watchpoint) { return target->type->remove_watchpoint(target, watchpoint); } @@ -2797,7 +2797,7 @@ COMMAND_HANDLER(handle_wp_command) if (argc == 0) { - watchpoint_t *watchpoint = target->watchpoints; + struct watchpoint *watchpoint = target->watchpoints; while (watchpoint) {