adding static to VDECONN

Co-Authored-By: MSharq <mdshrq7@gmail.com>
This commit is contained in:
asvitkine 2018-10-20 09:59:57 +02:00 committed by GitHub
parent f7023246d9
commit 5f04c95b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ static pthread_t slirp_thread; // Slirp reception thread
static bool slirp_thread_active = false; // Flag: Slirp reception threadinstalled static bool slirp_thread_active = false; // Flag: Slirp reception threadinstalled
static int slirp_output_fd = -1; // fd of slirp output pipe static int slirp_output_fd = -1; // fd of slirp output pipe
static int slirp_input_fds[2] = { -1, -1 }; // fds of slirp input pipe static int slirp_input_fds[2] = { -1, -1 }; // fds of slirp input pipe
VDECONN *vde_conn; static VDECONN *vde_conn;
#ifdef SHEEPSHAVER #ifdef SHEEPSHAVER
static bool net_open = false; // Flag: initialization succeeded, network device open static bool net_open = false; // Flag: initialization succeeded, network device open
static uint8 ether_addr[6]; // Our Ethernet address static uint8 ether_addr[6]; // Our Ethernet address