summaryrefslogtreecommitdiff
path: root/src/jtag/bitbang.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtag/bitbang.h')
-rw-r--r--src/jtag/bitbang.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/jtag/bitbang.h b/src/jtag/bitbang.h
index 060b689d..db5c4cb8 100644
--- a/src/jtag/bitbang.h
+++ b/src/jtag/bitbang.h
@@ -23,18 +23,17 @@
#ifndef BITBANG_H
#define BITBANG_H
-typedef struct bitbang_interface_s
-{
+struct bitbang_interface {
/* low level callbacks (for bitbang)
*/
int (*read)(void);
void (*write)(int tck, int tms, int tdi);
void (*reset)(int trst, int srst);
void (*blink)(int on);
-} bitbang_interface_t;
-
-extern bitbang_interface_t *bitbang_interface;
+};
int bitbang_execute_queue(void);
+extern struct bitbang_interface *bitbang_interface;
+
#endif /* BITBANG_H */