char *iface = NULL;
char *device_info = NULL;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
-pid_t reader_pid;
-int sp[2];
+static pid_t reader_pid;
+static int sp[2];
bool setup_device(void)
{
char *device;
char *iface;
char *device_info;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
static device_type_t device_type = DEVICE_TYPE_TUN;
bool setup_device(void)
char *device;
char *iface;
char *device_info;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
bool setup_device(void)
{
} device_type_t;
int device_fd = -1;
-device_type_t device_type;
+static device_type_t device_type;
char *device;
char *iface;
char ifrname[IFNAMSIZ];
char *device_info;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
bool setup_device(void)
{
#include "mingw/common.h"
int device_fd = 0;
-HANDLE device_handle = INVALID_HANDLE_VALUE;
+static HANDLE device_handle = INVALID_HANDLE_VALUE;
char *device = NULL;
char *iface = NULL;
char *device_info = NULL;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
extern char *myport;
char *iface;
char *device_info;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
bool setup_device(void)
{
#define DEFAULT_DEVICE "/dev/tun0"
-#define DEVICE_TYPE_ETHERTAP 0
-#define DEVICE_TYPE_TUNTAP 1
-
int device_fd = -1;
char *device;
char *iface;
char *device_info;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
bool setup_device(void)
{
char ifrname[IFNAMSIZ];
char *device_info;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
bool setup_device(void)
{
int device_fd = -1;
char *device = NULL;
char *iface = NULL;
-char ifrname[IFNAMSIZ];
char *device_info = NULL;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
bool setup_device(void)
{
extern char *identname;
extern bool running;
-int device_total_in = 0;
-int device_total_out = 0;
+static int device_total_in = 0;
+static int device_total_out = 0;
enum request_type { REQ_NEW_CONTROL };