watchpoint_t -> struct watchpoint

Remove misleading typedef and redundant suffix from struct watchpoint.
This commit is contained in:
Zachary T Welch
2009-11-13 08:42:06 -08:00
parent e7f65c5a11
commit 72b421418f
12 changed files with 49 additions and 49 deletions

View File

@@ -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)
{