X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=5494796a11ff289d544650ac3ee545d9a6234503;hp=2813a8839cac9a9e45f01282cc4b1629596add27;hb=b069da90d67b49dce041f513a3855b8da3d82f80;hpb=f81cea3bdc8683b27188cd8f24a2de906a29eb81 diff --git a/src/mingw/device.c b/src/mingw/device.c index 2813a883..5494796a 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -38,7 +38,7 @@ int device_fd = 0; static HANDLE device_handle = INVALID_HANDLE_VALUE; char *device = NULL; char *iface = NULL; -char *device_info = NULL; +static char *device_info = NULL; static int device_total_in = 0; static int device_total_out = 0; @@ -52,7 +52,7 @@ static struct packetbuf { static int nbufs = 64; -DWORD WINAPI tapreader(void *bla) { +static DWORD WINAPI tapreader(void *bla) { int sock, err, status; struct addrinfo *ai; struct addrinfo hint = {