diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 22:12:20 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 22:12:20 +0800 |
commit | 11fd673f0c315346ef065289b164da58dd1fd4c6 (patch) | |
tree | 827eceb5406cc32e5f6e66d377cca1d13618790c /src/target/dsp563xx_once.c | |
parent | b2495c010148b8343f8f70f6ee558f505a2c7409 (diff) | |
download | riscv-openocd-11fd673f0c315346ef065289b164da58dd1fd4c6.zip riscv-openocd-11fd673f0c315346ef065289b164da58dd1fd4c6.tar.gz riscv-openocd-11fd673f0c315346ef065289b164da58dd1fd4c6.tar.bz2 |
TARGET/DSP563XX_ONCE: review scope of functions
Add "static" qualifier to private functions.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target/dsp563xx_once.c')
-rw-r--r-- | src/target/dsp563xx_once.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/dsp563xx_once.c b/src/target/dsp563xx_once.c index 0186751..416cb6b 100644 --- a/src/target/dsp563xx_once.c +++ b/src/target/dsp563xx_once.c @@ -30,7 +30,7 @@ #include "dsp563xx_once.h" /** single word instruction */ -int dsp563xx_once_ir_exec(struct jtag_tap *tap, uint8_t instr, uint8_t rw, +static int dsp563xx_once_ir_exec(struct jtag_tap *tap, uint8_t instr, uint8_t rw, uint8_t go, uint8_t ex) { dsp563xx_write_dr_u8(tap, 0, @@ -41,7 +41,7 @@ int dsp563xx_once_ir_exec(struct jtag_tap *tap, uint8_t instr, uint8_t rw, } /** single word instruction */ -int dsp563xx_once_ir_exec_nq(struct jtag_tap *tap, uint8_t instr, uint8_t rw, +static int dsp563xx_once_ir_exec_nq(struct jtag_tap *tap, uint8_t instr, uint8_t rw, uint8_t go, uint8_t ex) { dsp563xx_write_dr_u8(tap, 0, |