X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=03a1d48c1f39a261f01b4f19bd2bf23405891ed5;hb=63106cf58402a3af96640727b499258d0eb529f1;hp=b7a191f4ebb490a3c68e074ab5e6964c4188a407;hpb=3a149f7521dfff67e6a790c1a830afc649ae083e;p=tinc diff --git a/src/mingw/device.c b/src/mingw/device.c index b7a191f4..03a1d48c 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-2005 Ivo Timmermans, - 2002-2018 Guus Sliepen + 2002-2022 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 @@ -45,9 +45,7 @@ char *device = NULL; char *iface = NULL; static const char *device_info = "Windows tap device"; -extern char *myport; - -static void device_issue_read() { +static void device_issue_read(void) { int status; for(;;) {