X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Finterface.h;h=5727298513b1cbd65a2ef6a4acfe77c57df5048a;hb=ccde06a08fbf9c4f57b321dbec0509f73239c2de;hp=afe21086c0f79f238ff8f06db9b2fb400334f981;hpb=814183a5c41cad14b83c29c9473084e6d1a11d9b;p=openocd.git diff --git a/src/jtag/interface.h b/src/jtag/interface.h index afe21086c0..5727298513 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