X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=3be59ce9d04c868c6b11fac57654235c56347a20;hb=8d393b30a922110ec77d5b243347416b50cd2160;hp=2818cd257dc73537dcd17260166596f1c977c3c2;hpb=58153cca98fd43c37ae52d3cf69474c3d736c431;p=tinc diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 2818cd25..3be59ce9 100644 --- a/src/cygwin/device.c +++ b/src/cygwin/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Windows tap driver in a Cygwin 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 @@ -40,11 +40,11 @@ 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; -pid_t reader_pid; -int sp[2]; +static pid_t reader_pid; +static int sp[2]; bool setup_device(void) {