File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ struct vblk_req_header {
64
64
uint8_t status ;
65
65
} __attribute__((packed ));
66
66
67
- struct virtio_blk_config vblk_configs [VBLK_DEV_CNT_MAX ];
68
- int vblk_dev_cnt = 0 ;
67
+ static struct virtio_blk_config vblk_configs [VBLK_DEV_CNT_MAX ];
68
+ static int vblk_dev_cnt = 0 ;
69
69
70
70
static void virtio_blk_set_fail (virtio_blk_state_t * vblk )
71
71
{
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ struct virtio_net_config {
41
41
uint16_t mtu ;
42
42
} __attribute__((packed ));
43
43
44
- struct virtio_net_config vnet_configs [VNET_DEV_CNT_MAX ];
45
- int vnet_dev_cnt = 0 ;
44
+ static struct virtio_net_config vnet_configs [VNET_DEV_CNT_MAX ];
45
+ static int vnet_dev_cnt = 0 ;
46
46
47
47
static void virtio_net_set_fail (virtio_net_state_t * vnet )
48
48
{
You can’t perform that action at this time.
0 commit comments