From: Spencer Oliver Date: Thu, 10 Feb 2011 13:57:30 +0000 (+0000) Subject: buikd: fix cygwin -mno-cygwin build error X-Git-Tag: v0.5.0-rc1~186 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=177fe9d7622e40f94f3b55f2dd7347c590d70365;p=openocd buikd: fix cygwin -mno-cygwin build error Remove duplicate inline that causes certain versions of gcc to choke. Signed-off-by: Spencer Oliver --- diff --git a/src/target/dsp563xx_once.c b/src/target/dsp563xx_once.c index df43ed6e..cb3abf66 100644 --- a/src/target/dsp563xx_once.c +++ b/src/target/dsp563xx_once.c @@ -90,7 +90,7 @@ static inline int dsp563xx_once_ir_exec(struct jtag_tap *tap, uint8_t instr, uin } /** single word instruction */ -static inline inline int dsp563xx_once_ir_exec_nq(struct jtag_tap *tap, uint8_t instr, uint8_t rw, uint8_t go, uint8_t ex) +static inline int dsp563xx_once_ir_exec_nq(struct jtag_tap *tap, uint8_t instr, uint8_t rw, uint8_t go, uint8_t ex) { return dsp563xx_write_dr_u8(tap, 0, instr | (ex << 5) | (go << 6) | (rw << 7), 8, 0); }