X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fcygwin%2Fdevice.c;h=3f4864b557cc10aa760c3fb265349f000c11d471;hp=2818cd257dc73537dcd17260166596f1c977c3c2;hb=df3220a1549f992cbf4a9b6e67c1e67b69896c7d;hpb=58153cca98fd43c37ae52d3cf69474c3d736c431 diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 2818cd25..3f4864b5 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-2005 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) {