diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 04:08:19 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:04 -0800 |
commit | c20b779b891f9d0fd031880841b269fbe8582579 (patch) | |
tree | dbf052d6230c921abf33181248f2d089b08edafa /src/jtag/bitq.h | |
parent | ff3150922b676223ad1acc4bcd127aa9fe03fa31 (diff) | |
download | riscv-openocd-c20b779b891f9d0fd031880841b269fbe8582579.zip riscv-openocd-c20b779b891f9d0fd031880841b269fbe8582579.tar.gz riscv-openocd-c20b779b891f9d0fd031880841b269fbe8582579.tar.bz2 |
bitq_interface_t -> struct biq_interface
Remove useless typedef and redundant suffix.
Diffstat (limited to 'src/jtag/bitq.h')
-rw-r--r-- | src/jtag/bitq.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/jtag/bitq.h b/src/jtag/bitq.h index d0774f1..48b47db 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); |