summaryrefslogtreecommitdiff
path: root/src/svf
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:47:42 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:47:42 +0000
commitdc575dc5bf8cb597a0e9a47794744ae6b1928087 (patch)
tree325ee3b79fe5801fd11a9cfa5e848ea15a52d5eb /src/svf
parentf90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1 (diff)
downloadopenocd_libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.tar.gz
openocd_libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.tar.bz2
openocd_libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.tar.xz
openocd_libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.zip
Remove whitespace that occurs before ')'.
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/svf')
-rw-r--r--src/svf/svf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index 36bc5f7f..be2ae5a5 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -273,7 +273,7 @@ static const char* tap_state_svf_name(tap_state_t state)
{
const char* ret;
- switch (state )
+ switch (state)
{
case TAP_RESET: ret = "RESET"; break;
case TAP_IDLE: ret = "IDLE"; break;
@@ -422,7 +422,7 @@ static int handle_svf_command(struct command_context_s *cmd_ctx, char *cmd, char
// TAP_RESET
jtag_add_tlr();
- while (ERROR_OK == svf_read_command_from_file(svf_fd) )
+ while (ERROR_OK == svf_read_command_from_file(svf_fd))
{
if (ERROR_OK != svf_run_command(cmd_ctx, svf_command_buffer))
{
@@ -505,7 +505,7 @@ static int svf_read_command_from_file(int fd)
char ch, *tmp_buffer = NULL;
int cmd_pos = 0, cmd_ok = 0, slash = 0, comment = 0;
- while (!cmd_ok && (read(fd, &ch, 1) > 0) )
+ while (!cmd_ok && (read(fd, &ch, 1) > 0))
{
switch (ch)
{