diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 04:14:50 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | 9f535f9af7c6b7e8843033049a6da0f6d76d513b (patch) | |
tree | 170ac759b0279d41af9216a6cdf2f804a84a47fb /src/jtag/interface.h | |
parent | bee796b5b07a0f83ed0ad2360bad70d8409e1109 (diff) | |
download | riscv-openocd-9f535f9af7c6b7e8843033049a6da0f6d76d513b.zip riscv-openocd-9f535f9af7c6b7e8843033049a6da0f6d76d513b.tar.gz riscv-openocd-9f535f9af7c6b7e8843033049a6da0f6d76d513b.tar.bz2 |
jtag_interface_t -> struct jtag_interface
Remove useless typedef and redundant suffix from struct jtag_interface.
Diffstat (limited to 'src/jtag/interface.h')
-rw-r--r-- | src/jtag/interface.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jtag/interface.h b/src/jtag/interface.h index afe2108..5727298 100644 --- a/src/jtag/interface.h +++ b/src/jtag/interface.h @@ -184,8 +184,7 @@ static inline tap_state_t jtag_debug_state_machine(const void *tms_buf, } #endif // _DEBUG_JTAG_IO_ -typedef struct jtag_interface_s -{ +struct jtag_interface { /// The name of the JTAG interface driver. char* name; @@ -271,7 +270,7 @@ typedef struct jtag_interface_s * @returns ERROR_OK on success, or an error code on failure. */ int (*srst_asserted)(int* srst_asserted); -} jtag_interface_t; +}; #endif // OPENOCD_JTAG_INTERFACE_H |