diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:42:03 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:42:03 +0000 |
commit | 3813fda44adcea486b7308423a699f63d79273ee (patch) | |
tree | f515b454cfaea4806d0d307c1d19f1e3081482d1 /src/target/breakpoints.c | |
parent | aea6815462d3302f7f8b6576f59320d5f5985642 (diff) | |
download | riscv-openocd-3813fda44adcea486b7308423a699f63d79273ee.zip riscv-openocd-3813fda44adcea486b7308423a699f63d79273ee.tar.gz riscv-openocd-3813fda44adcea486b7308423a699f63d79273ee.tar.bz2 |
- Fixes '==' whitespace
- Replace ')\(==\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(==\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2371 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/breakpoints.c')
-rw-r--r-- | src/target/breakpoints.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c index cffe1cb..60f4805 100644 --- a/src/target/breakpoints.c +++ b/src/target/breakpoints.c @@ -99,13 +99,13 @@ static void breakpoint_free(target_t *target, breakpoint_t *breakpoint_remove) while (breakpoint) { - if (breakpoint==breakpoint_remove) + if (breakpoint == breakpoint_remove) break; breakpoint_p = &breakpoint->next; breakpoint = breakpoint->next; } - if (breakpoint==NULL) + if (breakpoint == NULL) return; target_remove_breakpoint(target, breakpoint); @@ -227,7 +227,7 @@ static void watchpoint_free(target_t *target, watchpoint_t *watchpoint_remove) watchpoint = watchpoint->next; } - if (watchpoint==NULL) + if (watchpoint == NULL) return; target_remove_watchpoint(target, watchpoint); (*watchpoint_p) = watchpoint->next; |