diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 09:15:32 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:13 -0800 |
commit | 53c05c8b1d5718b2acf5dbe0eb517dd427340041 (patch) | |
tree | 4ec75a7d039d0f8bb07cde0251452ae81fb3cce8 /src/target/target.c | |
parent | 1e51cf049cfed3bc42a748d848210f8e4b472282 (diff) |
breakpoint_t -> struct breakpoint
Remove misleading typedef and redundant suffix from struct breakpoint.
Diffstat (limited to 'src/target/target.c')
-rw-r--r-- | src/target/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |