From 53c05c8b1d5718b2acf5dbe0eb517dd427340041 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 09:15:32 -0800 Subject: breakpoint_t -> struct breakpoint Remove misleading typedef and redundant suffix from struct breakpoint. --- 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 e46dec9c..6f04af69 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -600,12 +600,12 @@ int target_bulk_write_memory(struct target_s *target, } int target_add_breakpoint(struct target_s *target, - struct breakpoint_s *breakpoint) + struct breakpoint *breakpoint) { return target->type->add_breakpoint(target, breakpoint); } int target_remove_breakpoint(struct target_s *target, - struct breakpoint_s *breakpoint) + struct breakpoint *breakpoint) { return target->type->remove_breakpoint(target, breakpoint); } @@ -2712,7 +2712,7 @@ COMMAND_HANDLER(handle_test_image_command) static int handle_bp_command_list(struct command_context_s *cmd_ctx) { target_t *target = get_current_target(cmd_ctx); - breakpoint_t *breakpoint = target->breakpoints; + struct breakpoint *breakpoint = target->breakpoints; while (breakpoint) { if (breakpoint->type == BKPT_SOFT) -- cgit v1.2.3-18-g5258