summaryrefslogtreecommitdiff
path: root/src/jtag/bitbang.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 04:10:56 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:04 -0800
commitbee796b5b07a0f83ed0ad2360bad70d8409e1109 (patch)
treebeac048f60d11332d3c963d549c14cfb79660969 /src/jtag/bitbang.h
parentc20b779b891f9d0fd031880841b269fbe8582579 (diff)
downloadopenocd+libswd-bee796b5b07a0f83ed0ad2360bad70d8409e1109.tar.gz
openocd+libswd-bee796b5b07a0f83ed0ad2360bad70d8409e1109.tar.bz2
openocd+libswd-bee796b5b07a0f83ed0ad2360bad70d8409e1109.tar.xz
openocd+libswd-bee796b5b07a0f83ed0ad2360bad70d8409e1109.zip
bitbang_interface_t -> struct bitbang_interface
Removes another useless typedef and suffix.
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 */