summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 05:59:48 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:05 -0800
commitcf2e402d71fa39dc8138985027b7ab8f4d510e81 (patch)
tree4bbd94cc73b0084ca7dd6ed644b4a631d4bbaf7e /src
parent8cc8c0544f3f24772d6644df16d5a70d4ffe8b4a (diff)
downloadopenocd_libswd-cf2e402d71fa39dc8138985027b7ab8f4d510e81.tar.gz
openocd_libswd-cf2e402d71fa39dc8138985027b7ab8f4d510e81.tar.bz2
openocd_libswd-cf2e402d71fa39dc8138985027b7ab8f4d510e81.tar.xz
openocd_libswd-cf2e402d71fa39dc8138985027b7ab8f4d510e81.zip
end_state_command_t -> struct end_state_command
Remove misleading typedef from struct end_state_command.
Diffstat (limited to 'src')
-rw-r--r--src/jtag/commands.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jtag/commands.h b/src/jtag/commands.h
index 0a4d7233..9d0747a6 100644
--- a/src/jtag/commands.h
+++ b/src/jtag/commands.h
@@ -90,11 +90,10 @@ struct reset_command {
int srst;
};
-typedef struct end_state_command_s
-{
+struct end_state_command {
/// state in which JTAG commands should finish
tap_state_t end_state;
-} end_state_command_t;
+};
typedef struct sleep_command_s
{
@@ -114,7 +113,7 @@ typedef union jtag_command_container_u
struct runtest_command* runtest;
struct stableclocks_command* stableclocks;
struct reset_command* reset;
- end_state_command_t* end_state;
+ struct end_state_command* end_state;
sleep_command_t* sleep;
} jtag_command_container_t;