]> source.dussan.org Git - tigervnc.git/commitdiff
MinGW tweak: ISO C++ forbids declaration of `requestAddressChangeEvents' with no...
authorPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 10:48:44 +0000 (10:48 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 10:48:44 +0000 (10:48 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3332 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/SocketManager.cxx

index 1d52bc86057f7cbd2796f2ad6b2d464657804188..b33d165a787325d577b494d397b047e3c924b4c6 100644 (file)
@@ -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();