jtag_interface_t -> struct jtag_interface

Remove useless typedef and redundant suffix from struct jtag_interface.
This commit is contained in:
Zachary T Welch
2009-11-13 04:14:50 -08:00
parent bee796b5b0
commit 9f535f9af7
20 changed files with 38 additions and 39 deletions

View File

@@ -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