diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:36:56 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:36:56 +0000 |
commit | 9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b (patch) | |
tree | 454f5975d6d44abec57d19aa50f11e773af2273f /src/svf | |
parent | 50c086ffb94f199c088f4cc52b7887b668dddf00 (diff) | |
download | riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.zip riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.gz riscv-openocd-9af5e445b796f3b4a51d41f9d2eeaf1f5cd78e3b.tar.bz2 |
- Replace 'switch(' with 'switch ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/svf')
-rw-r--r-- | src/svf/svf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c index d414ce3..833b029 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; @@ -507,7 +507,7 @@ static int svf_read_command_from_file(int fd) while (!cmd_ok && (read(fd, &ch, 1) > 0) ) { - switch(ch) + switch (ch) { case '!': slash = 0; @@ -578,7 +578,7 @@ static int svf_parse_cmd_string(char *str, int len, char **argus, int *num_of_ar while (pos < len) { - switch(str[pos]) + switch (str[pos]) { case '\n': case '\r': @@ -832,7 +832,7 @@ static int svf_run_command(struct command_context_s *cmd_ctx, char *cmd_str) } command = svf_find_string_in_array(argus[0], (char **)svf_command_name, dimof(svf_command_name)); - switch(command) + switch (command) { case ENDDR: case ENDIR: |