diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/riscv/riscv.c | 4 | ||||
-rw-r--r-- | src/target/riscv/riscv.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index ea06bfb..1abb49a 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -175,8 +175,8 @@ struct scan_field select_idcode = { bscan_tunnel_type_t bscan_tunnel_type; int bscan_tunnel_ir_width; /* if zero, then tunneling is not present/active */ -uint8_t bscan_zero[4] = {0}; -uint8_t bscan_one[4] = {1}; +static uint8_t bscan_zero[4] = {0}; +static uint8_t bscan_one[4] = {1}; uint8_t ir_user4[4]; struct scan_field select_user4 = { diff --git a/src/target/riscv/riscv.h b/src/target/riscv/riscv.h index 5e171d9..f5ee06a 100644 --- a/src/target/riscv/riscv.h +++ b/src/target/riscv/riscv.h @@ -229,8 +229,6 @@ extern struct scan_field select_idcode; extern struct scan_field select_user4; extern struct scan_field *bscan_tunneled_select_dmi; extern uint32_t bscan_tunneled_select_dmi_num_fields; -extern uint8_t bscan_zero[4]; -extern uint8_t bscan_one[4]; typedef enum { BSCAN_TUNNEL_NESTED_TAP, BSCAN_TUNNEL_DATA_REGISTER } bscan_tunnel_type_t; extern int bscan_tunnel_ir_width; extern bscan_tunnel_type_t bscan_tunnel_type; |