summaryrefslogtreecommitdiff
path: root/src/jtag/usbprog.c
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/jtag/usbprog.c
parentd16968e24f5d9e436ae4e136cd27652c4c948203 (diff)
downloadopenocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.xz
openocd+libswd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/jtag/usbprog.c')
-rw-r--r--src/jtag/usbprog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/usbprog.c b/src/jtag/usbprog.c
index 7abb0ca3..10dfe061 100644
--- a/src/jtag/usbprog.c
+++ b/src/jtag/usbprog.c
@@ -51,7 +51,7 @@
static int usbprog_execute_queue(void);
static int usbprog_speed(int speed);
-static int usbprog_register_commands(struct command_context_s *cmd_ctx);
+static int usbprog_register_commands(struct command_context *cmd_ctx);
static int usbprog_init(void);
static int usbprog_quit(void);
@@ -120,7 +120,7 @@ static int usbprog_speed(int speed)
return ERROR_OK;
}
-static int usbprog_register_commands(struct command_context_s *cmd_ctx)
+static int usbprog_register_commands(struct command_context *cmd_ctx)
{
return ERROR_OK;
}