summaryrefslogtreecommitdiff
path: root/src/jtag/bitq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/bitq.h')
-rw-r--r--src/jtag/bitq.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/jtag/bitq.h b/src/jtag/bitq.h
index d0774f1f..48b47db7 100644
--- a/src/jtag/bitq.h
+++ b/src/jtag/bitq.h
@@ -22,10 +22,8 @@
#include "commands.h"
-typedef struct bitq_interface_s
-{
- /* functions enqueueing low level IO requests
- */
+struct bitq_interface {
+ // function to enqueueing low level IO requests
int (*out)(int tms, int tdi, int tdo_req);
int (*flush)(void);
@@ -37,9 +35,9 @@ typedef struct bitq_interface_s
*/
int (*in_rdy)(void);
int (*in)(void);
-} bitq_interface_t;
+};
-extern bitq_interface_t *bitq_interface;
+extern struct bitq_interface *bitq_interface;
int bitq_execute_queue(void);