summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-09 10:48:44 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-09 10:48:44 +0000
commitf14f0d03e78ae343a8db61f20f59d4af7480c746 (patch)
treec48c70bf97c70e325383d9bf22fc27e2d0d2cbe0 /win
parent2a44899811087be5d4843257ec54881b2c790aeb (diff)
downloadtigervnc-f14f0d03e78ae343a8db61f20f59d4af7480c746.tar.gz
tigervnc-f14f0d03e78ae343a8db61f20f59d4af7480c746.zip
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
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/SocketManager.cxx2
1 files changed, 1 insertions, 1 deletions
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();