Make a couple variables static.

This commit is contained in:
Tim Newsome 2020-09-09 12:36:58 -07:00
parent 48e40f3513
commit aa971f3944
2 changed files with 2 additions and 4 deletions

View File

@ -175,8 +175,8 @@ struct scan_field select_idcode = {
bscan_tunnel_type_t bscan_tunnel_type; bscan_tunnel_type_t bscan_tunnel_type;
int bscan_tunnel_ir_width; /* if zero, then tunneling is not present/active */ int bscan_tunnel_ir_width; /* if zero, then tunneling is not present/active */
uint8_t bscan_zero[4] = {0}; static uint8_t bscan_zero[4] = {0};
uint8_t bscan_one[4] = {1}; static uint8_t bscan_one[4] = {1};
uint8_t ir_user4[4]; uint8_t ir_user4[4];
struct scan_field select_user4 = { struct scan_field select_user4 = {

View File

@ -229,8 +229,6 @@ extern struct scan_field select_idcode;
extern struct scan_field select_user4; extern struct scan_field select_user4;
extern struct scan_field *bscan_tunneled_select_dmi; extern struct scan_field *bscan_tunneled_select_dmi;
extern uint32_t bscan_tunneled_select_dmi_num_fields; 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; typedef enum { BSCAN_TUNNEL_NESTED_TAP, BSCAN_TUNNEL_DATA_REGISTER } bscan_tunnel_type_t;
extern int bscan_tunnel_ir_width; extern int bscan_tunnel_ir_width;
extern bscan_tunnel_type_t bscan_tunnel_type; extern bscan_tunnel_type_t bscan_tunnel_type;