X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fjtag%2Fcommands.c;h=64bb993fe674e952252a4aa630f27e77ba0d6a37;hb=2ddeec9db5a8771c948294b7194778a95295b7a0;hp=70e30ab58d2ba919d4970c4234a7248f6ebc52c7;hpb=7035b37e71c8c8805a2148c7c454537b903b0d51;p=openocd.git diff --git a/src/jtag/commands.c b/src/jtag/commands.c index 70e30ab58d..64bb993fe6 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;