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/breakpoints.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/breakpoints.h') diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h index 781c91b6..57c06c73 100644 --- a/src/target/breakpoints.h +++ b/src/target/breakpoints.h @@ -46,7 +46,7 @@ typedef struct breakpoint_s int unique_id; } breakpoint_t; -typedef struct watchpoint_s +struct watchpoint { uint32_t address; uint32_t length; @@ -54,9 +54,9 @@ typedef struct watchpoint_s uint32_t value; enum watchpoint_rw rw; int set; - struct watchpoint_s *next; + struct watchpoint *next; int unique_id; -} watchpoint_t; +}; void breakpoint_clear_target(struct target_s *target); int breakpoint_add(struct target_s *target, -- cgit v1.2.3