From bee796b5b07a0f83ed0ad2360bad70d8409e1109 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 04:10:56 -0800 Subject: bitbang_interface_t -> struct bitbang_interface Removes another useless typedef and suffix. --- src/jtag/bitbang.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/jtag/bitbang.h') 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 */ -- cgit v1.2.3