From f14f0d03e78ae343a8db61f20f59d4af7480c746 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Tue, 9 Dec 2008 10:48:44 +0000 Subject: [PATCH] MinGW tweak: ISO C++ forbids declaration of `requestAddressChangeEvents' with no type. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3332 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/rfb_win32/SocketManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/rfb_win32/SocketManager.cxx b/win/rfb_win32/SocketManager.cxx index 1d52bc86..b33d165a 100644 --- a/win/rfb_win32/SocketManager.cxx +++ b/win/rfb_win32/SocketManager.cxx @@ -38,7 +38,7 @@ SocketManager::~SocketManager() { } -static requestAddressChangeEvents(network::SocketListener* sock_) { +static void requestAddressChangeEvents(network::SocketListener* sock_) { DWORD dummy = 0; if (WSAIoctl(sock_->getFd(), SIO_ADDRESS_LIST_CHANGE, 0, 0, 0, 0, &dummy, 0, 0) == SOCKET_ERROR) { DWORD err = WSAGetLastError(); -- 2.39.5