summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2011-02-10 13:57:30 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2011-02-10 13:57:30 +0000
commit177fe9d7622e40f94f3b55f2dd7347c590d70365 (patch)
tree1e51378e99421ea8e309239be527e8bb65a01dbd /src/target
parent05ab8bdb813acdcd74afa71d6656c2df816cb230 (diff)
downloadopenocd_libswd-177fe9d7622e40f94f3b55f2dd7347c590d70365.tar.gz
openocd_libswd-177fe9d7622e40f94f3b55f2dd7347c590d70365.tar.bz2
openocd_libswd-177fe9d7622e40f94f3b55f2dd7347c590d70365.tar.xz
openocd_libswd-177fe9d7622e40f94f3b55f2dd7347c590d70365.zip
buikd: fix cygwin -mno-cygwin build error
Remove duplicate inline that causes certain versions of gcc to choke. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target')
-rw-r--r--src/target/dsp563xx_once.c2
1 files changed, 1 insertions, 1 deletions
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);
}