X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Fcygwin%2Fdevice.c;h=acb0cfaeb5d4c9199be430d48dc372642e5a33bd;hb=b069da90d67b49dce041f513a3855b8da3d82f80;hp=2818cd257dc73537dcd17260166596f1c977c3c2;hpb=58153cca98fd43c37ae52d3cf69474c3d736c431;p=tinc diff --git a/src/cygwin/device.c b/src/cygwin/device.c index 2818cd25..acb0cfae 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 @@ -38,13 +38,13 @@ int device_fd = -1; static HANDLE device_handle = INVALID_HANDLE_VALUE; char *device = NULL; char *iface = NULL; -char *device_info = NULL; +static 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) {