aboutsummaryrefslogtreecommitdiff
path: root/src/xsvf
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 13:25:47 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 13:25:47 -0800
commit98723c4ecdbe06f90c66f3abec27b792c3b38e34 (patch)
treec6ea2a1627e8f7109e3aa0589cd625ac0c740aa7 /src/xsvf
parentd16968e24f5d9e436ae4e136cd27652c4c948203 (diff)
downloadriscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip
riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz
riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/xsvf')
-rw-r--r--src/xsvf/xsvf.c2
-rw-r--r--src/xsvf/xsvf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c
index c6daf5f..3fe2c0f 100644
--- a/src/xsvf/xsvf.c
+++ b/src/xsvf/xsvf.c
@@ -1050,7 +1050,7 @@ COMMAND_HANDLER(handle_xsvf_command)
return ERROR_OK;
}
-int xsvf_register_commands(struct command_context_s *cmd_ctx)
+int xsvf_register_commands(struct command_context *cmd_ctx)
{
register_command(cmd_ctx, NULL, "xsvf",
&handle_xsvf_command, COMMAND_EXEC,
diff --git a/src/xsvf/xsvf.h b/src/xsvf/xsvf.h
index 93cccf0..2153a2d 100644
--- a/src/xsvf/xsvf.h
+++ b/src/xsvf/xsvf.h
@@ -22,7 +22,7 @@
#include "command.h"
-int xsvf_register_commands(struct command_context_s *cmd_ctx);
+int xsvf_register_commands(struct command_context *cmd_ctx);
#define ERROR_XSVF_EOF (-200)
#define ERROR_XSVF_FAILED (-201)