diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:42:06 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:11 -0800 |
commit | 72b421418f315cb54a01ba4d249082f989d5154a (patch) | |
tree | e292d768a61b3ccbc7fe5448dae938ab7e8e4170 /src/target/cortex_m3.c | |
parent | e7f65c5a116802c4e510fe212b26e9a020de0b3e (diff) |
watchpoint_t -> struct watchpoint
Remove misleading typedef and redundant suffix from struct watchpoint.
Diffstat (limited to 'src/target/cortex_m3.c')
-rw-r--r-- | src/target/cortex_m3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index caeeac7a..6f647145 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -1032,7 +1032,7 @@ cortex_m3_remove_breakpoint(struct target_s *target, breakpoint_t *breakpoint) } static int -cortex_m3_set_watchpoint(struct target_s *target, watchpoint_t *watchpoint) +cortex_m3_set_watchpoint(struct target_s *target, struct watchpoint *watchpoint) { int dwt_num = 0; uint32_t mask, temp; @@ -1097,7 +1097,7 @@ cortex_m3_set_watchpoint(struct target_s *target, watchpoint_t *watchpoint) } static int -cortex_m3_unset_watchpoint(struct target_s *target, watchpoint_t *watchpoint) +cortex_m3_unset_watchpoint(struct target_s *target, struct watchpoint *watchpoint) { struct cortex_m3_common_s *cortex_m3 = target_to_cm3(target); cortex_m3_dwt_comparator_t *comparator; @@ -1134,7 +1134,7 @@ cortex_m3_unset_watchpoint(struct target_s *target, watchpoint_t *watchpoint) } static int -cortex_m3_add_watchpoint(struct target_s *target, watchpoint_t *watchpoint) +cortex_m3_add_watchpoint(struct target_s *target, struct watchpoint *watchpoint) { struct cortex_m3_common_s *cortex_m3 = target_to_cm3(target); @@ -1192,7 +1192,7 @@ cortex_m3_add_watchpoint(struct target_s *target, watchpoint_t *watchpoint) } static int -cortex_m3_remove_watchpoint(struct target_s *target, watchpoint_t *watchpoint) +cortex_m3_remove_watchpoint(struct target_s *target, struct watchpoint *watchpoint) { struct cortex_m3_common_s *cortex_m3 = target_to_cm3(target); @@ -1216,7 +1216,7 @@ cortex_m3_remove_watchpoint(struct target_s *target, watchpoint_t *watchpoint) static void cortex_m3_enable_watchpoints(struct target_s *target) { - watchpoint_t *watchpoint = target->watchpoints; + struct watchpoint *watchpoint = target->watchpoints; /* set any pending watchpoints */ while (watchpoint) |