X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=5e449d50c10d1d4355fd764ed1e9de5e5ca7a192;hb=6e221a828f87a511aecee9d9263a1db0836701c4;hp=33b13da60b89a9496f311c50f48757af9764ded7;hpb=313a752cb5fbf27450d34c15b0085d2d8a4147af;p=tinc diff --git a/src/mingw/device.c b/src/mingw/device.c index 33b13da6..5e449d50 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -60,7 +60,7 @@ static void device_issue_read() { } } -static void device_handle_read(void *data) { +static void device_handle_read(void *data, int flags) { ResetEvent(device_read_overlapped.hEvent); DWORD len; @@ -89,7 +89,6 @@ static bool setup_device(void) { bool found = false; int err; - HANDLE thread; get_config_string(lookup_config(config_tree, "Device"), &device); get_config_string(lookup_config(config_tree, "Interface"), &iface);