summaryrefslogtreecommitdiff
path: root/src/jtag/commands.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:30:28 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commit2ddeec9db5a8771c948294b7194778a95295b7a0 (patch)
tree93b4c1fc66ac94c8edae4b0857471dc3a8afcda6 /src/jtag/commands.c
parent4a29f8e21d4932ddf6523ccf23463d8636ad05a9 (diff)
downloadopenocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.tar.gz
openocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.tar.bz2
openocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.tar.xz
openocd+libswd-2ddeec9db5a8771c948294b7194778a95295b7a0.zip
scan_command_t -> struct scan_command
Remove misleading typedef on struct scan_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 70e30ab5..64bb993f 100644
--- a/src/jtag/commands.c
+++ b/src/jtag/commands.c
@@ -144,7 +144,7 @@ void jtag_command_queue_reset(void)
next_command_pointer = &jtag_command_queue;
}
-enum scan_type jtag_scan_type(const scan_command_t *cmd)
+enum scan_type jtag_scan_type(const struct scan_command *cmd)
{
int i;
int type = 0;
@@ -160,7 +160,7 @@ enum scan_type jtag_scan_type(const scan_command_t *cmd)
return type;
}
-int jtag_scan_size(const scan_command_t *cmd)
+int jtag_scan_size(const struct scan_command *cmd)
{
int bit_count = 0;
int i;
@@ -174,7 +174,7 @@ int jtag_scan_size(const scan_command_t *cmd)
return bit_count;
}
-int jtag_build_buffer(const scan_command_t *cmd, uint8_t **buffer)
+int jtag_build_buffer(const struct scan_command *cmd, uint8_t **buffer)
{
int bit_count = 0;
int i;
@@ -219,7 +219,7 @@ int jtag_build_buffer(const scan_command_t *cmd, uint8_t **buffer)
return bit_count;
}
-int jtag_read_buffer(uint8_t *buffer, const scan_command_t *cmd)
+int jtag_read_buffer(uint8_t *buffer, const struct scan_command *cmd)
{
int i;
int bit_count = 0;