summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-24 15:08:29 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-31 13:05:12 (GMT)
commit05dbc204cdb4c7d81f40f2e2174c51df7e3294b9 (patch)
treef5fa3db0db15b4ba44cae2ddd9e1fe1172f88513 /Utilities
parent75139374f07cff43eeab6b4302d560a077440d76 (diff)
downloadCMake-05dbc204cdb4c7d81f40f2e2174c51df7e3294b9.zip
CMake-05dbc204cdb4c7d81f40f2e2174c51df7e3294b9.tar.gz
CMake-05dbc204cdb4c7d81f40f2e2174c51df7e3294b9.tar.bz2
libuv: Fix Windows API function typedef syntax
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibuv/include/uv-win.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Utilities/cmlibuv/include/uv-win.h b/Utilities/cmlibuv/include/uv-win.h
index a75dba8..e8b9b15 100644
--- a/Utilities/cmlibuv/include/uv-win.h
+++ b/Utilities/cmlibuv/include/uv-win.h
@@ -116,7 +116,7 @@ typedef struct pollfd {
{0xb5367df0, 0xcbac, 0x11cf, \
{0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}}
- typedef BOOL PASCAL (*LPFN_ACCEPTEX)
+ typedef BOOL (PASCAL *LPFN_ACCEPTEX)
(SOCKET sListenSocket,
SOCKET sAcceptSocket,
PVOID lpOutputBuffer,
@@ -126,7 +126,7 @@ typedef struct pollfd {
LPDWORD lpdwBytesReceived,
LPOVERLAPPED lpOverlapped);
- typedef BOOL PASCAL (*LPFN_CONNECTEX)
+ typedef BOOL (PASCAL *LPFN_CONNECTEX)
(SOCKET s,
const struct sockaddr* name,
int namelen,
@@ -135,7 +135,7 @@ typedef struct pollfd {
LPDWORD lpdwBytesSent,
LPOVERLAPPED lpOverlapped);
- typedef void PASCAL (*LPFN_GETACCEPTEXSOCKADDRS)
+ typedef void (PASCAL *LPFN_GETACCEPTEXSOCKADDRS)
(PVOID lpOutputBuffer,
DWORD dwReceiveDataLength,
DWORD dwLocalAddressLength,
@@ -145,13 +145,13 @@ typedef struct pollfd {
LPSOCKADDR* RemoteSockaddr,
LPINT RemoteSockaddrLength);
- typedef BOOL PASCAL (*LPFN_DISCONNECTEX)
+ typedef BOOL (PASCAL *LPFN_DISCONNECTEX)
(SOCKET hSocket,
LPOVERLAPPED lpOverlapped,
DWORD dwFlags,
DWORD reserved);
- typedef BOOL PASCAL (*LPFN_TRANSMITFILE)
+ typedef BOOL (PASCAL *LPFN_TRANSMITFILE)
(SOCKET hSocket,
HANDLE hFile,
DWORD nNumberOfBytesToWrite,