From 72b421418f315cb54a01ba4d249082f989d5154a Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:42:06 -0800 Subject: watchpoint_t -> struct watchpoint Remove misleading typedef and redundant suffix from struct watchpoint. --- src/target/target.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/target.c') diff --git a/src/target/target.c b/src/target/target.c index f56fbc44..e8f91def 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) { -- cgit v1.2.3