summaryrefslogtreecommitdiff
path: root/src/target/target.c
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.c
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.c')
-rw-r--r--src/target/target.c6
1 files changed, 3 insertions, 3 deletions
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)
{