summaryrefslogtreecommitdiff
path: root/src/jtag/commands.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 06:15:31 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commit246068fd8985b293d7109058f83c57f6c22a4336 (patch)
treea22f23a1b1566f25c6dadc4dcfdaaae27ad4b55b /src/jtag/commands.c
parent1053c32d9ecc95ce946bbbf49cccfe800881f9aa (diff)
downloadopenocd_libswd-246068fd8985b293d7109058f83c57f6c22a4336.tar.gz
openocd_libswd-246068fd8985b293d7109058f83c57f6c22a4336.tar.bz2
openocd_libswd-246068fd8985b293d7109058f83c57f6c22a4336.tar.xz
openocd_libswd-246068fd8985b293d7109058f83c57f6c22a4336.zip
jtag_command_t -> struct jtag_command
Remove useless typedef from struct jtag_command.
Diffstat (limited to 'src/jtag/commands.c')
-rw-r--r--src/jtag/commands.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jtag/commands.c b/src/jtag/commands.c
index c092eec5..ccd6d0f1 100644
--- a/src/jtag/commands.c
+++ b/src/jtag/commands.c
@@ -42,15 +42,15 @@ struct cmd_queue_page {
#define CMD_QUEUE_PAGE_SIZE (1024 * 1024)
static struct cmd_queue_page *cmd_queue_pages = NULL;
-jtag_command_t *jtag_command_queue = NULL;
-static jtag_command_t **next_command_pointer = &jtag_command_queue;
+struct jtag_command *jtag_command_queue = NULL;
+static struct jtag_command **next_command_pointer = &jtag_command_queue;
-void jtag_queue_command(jtag_command_t * cmd)
+void jtag_queue_command(struct jtag_command * cmd)
{
// this command goes on the end, so ensure the queue terminates
cmd->next = NULL;
- jtag_command_t **last_cmd = next_command_pointer;
+ struct jtag_command **last_cmd = next_command_pointer;
assert(NULL != last_cmd);
assert(NULL == *last_cmd);
*last_cmd = cmd;