aboutsummaryrefslogtreecommitdiff
path: root/src/svf/svf.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-09 23:56:52 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 10:51:45 -0800
commitcfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e (patch)
treef129c414d90f81a2caf6054ab7bbcd1306ac1f26 /src/svf/svf.c
parentddb6138ed428f666064d26bb08036de3afe44bc8 (diff)
downloadriscv-openocd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.zip
riscv-openocd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.gz
riscv-openocd-cfc4d5c6b7b6f8f82dc5bbf3ee661c179814666e.tar.bz2
use COMMAND_HANDLER macro to define all commands
Diffstat (limited to 'src/svf/svf.c')
-rw-r--r--src/svf/svf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index ba6ed1b..76b0670 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -301,7 +301,7 @@ int svf_add_statemove(tap_state_t state_to)
return ERROR_FAIL;
}
-static int handle_svf_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc)
+COMMAND_HANDLER(handle_svf_command)
{
#define SVF_NUM_OF_OPTIONS 1
int command_num = 0, i;