diff options
Diffstat (limited to 'src/include/port-sockets.h')
-rw-r--r-- | src/include/port-sockets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h index 57e5d1d..228e4cf 100644 --- a/src/include/port-sockets.h +++ b/src/include/port-sockets.h @@ -111,7 +111,7 @@ static __inline void TranslatedWSASetLastError(int posix_error) * Translate Winsock errors to their POSIX counterparts. This is necessary for * MSVC 2010+, where both Winsock and POSIX errors are defined. */ -static __inline int TranslatedWSAGetLastError() +static __inline int TranslatedWSAGetLastError(void) { int err = WSAGetLastError(); switch (err) { |