X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=1c1c2e66b533d2bc609eb440532edc445bfe35c6;hp=2d2b9250c77fb771b3bd25a522725055eff99ddf;hb=de78d79db84c486afcc353884ec1770866beb653;hpb=58153cca98fd43c37ae52d3cf69474c3d736c431 diff --git a/src/mingw/device.c b/src/mingw/device.c index 2d2b9250..1c1c2e66 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Windows tap driver in a MinGW environment - Copyright (C) 2002-2004 Ivo Timmermans , - 2002-2004 Guus Sliepen + Copyright (C) 2002-2005 Ivo Timmermans, + 2002-2006 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,13 +35,13 @@ #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;