summaryrefslogtreecommitdiff
path: root/src/target/target_type.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:42:06 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commit72b421418f315cb54a01ba4d249082f989d5154a (patch)
treee292d768a61b3ccbc7fe5448dae938ab7e8e4170 /src/target/target_type.h
parente7f65c5a116802c4e510fe212b26e9a020de0b3e (diff)
downloadopenocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.tar.gz
openocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.tar.bz2
openocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.tar.xz
openocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.zip
watchpoint_t -> struct watchpoint
Remove misleading typedef and redundant suffix from struct watchpoint.
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r--src/target/target_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h
index ee76ff4c..21d7295d 100644
--- a/src/target/target_type.h
+++ b/src/target/target_type.h
@@ -137,11 +137,11 @@ struct target_type_s
* However, this method can be invoked on unresponsive targets.
*/
int (*remove_breakpoint)(struct target_s *target, breakpoint_t *breakpoint);
- int (*add_watchpoint)(struct target_s *target, watchpoint_t *watchpoint);
+ int (*add_watchpoint)(struct target_s *target, struct watchpoint *watchpoint);
/* remove watchpoint. hw will only be updated if the target is currently halted.
* However, this method can be invoked on unresponsive targets.
*/
- int (*remove_watchpoint)(struct target_s *target, watchpoint_t *watchpoint);
+ int (*remove_watchpoint)(struct target_s *target, struct watchpoint *watchpoint);
/* target algorithm support */
int (*run_algorithm_imp)(struct target_s *target, int num_mem_params, struct mem_param *mem_params, int num_reg_params, struct reg_param *reg_param, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info);