From 2ddeec9db5a8771c948294b7194778a95295b7a0 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 05:30:28 -0800 Subject: scan_command_t -> struct scan_command Remove misleading typedef on struct scan_command. --- src/jtag/commands.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/jtag/commands.c') 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; -- cgit v1.2.3