Francois Gouget : winsock & ws2_32: Update win32. api to fix the winapi_check warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 7 16:00:19 CST 2007


Module: wine
Branch: master
Commit: 08734d5ba1a8673c80bc7162353de65b1032aa3d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=08734d5ba1a8673c80bc7162353de65b1032aa3d

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Feb  7 16:23:11 2007 +0100

winsock & ws2_32: Update win32.api to fix the winapi_check warnings.

---

 tools/winapi/win16.api |    4 ++--
 tools/winapi/win32.api |   13 ++++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/tools/winapi/win16.api b/tools/winapi/win16.api
index 20bea75..854ef32 100644
--- a/tools/winapi/win16.api
+++ b/tools/winapi/win16.api
@@ -1484,7 +1484,7 @@ HWND16
 BOOL
 INT
 LONG
-u_long
+WS_u_long
 
 %ptr
 
@@ -1520,7 +1520,7 @@ HWND16
 INT16
 SOCKET16
 UINT16
-u_short
+WS_u_short
 
 %%wintab.dll
 
diff --git a/tools/winapi/win32.api b/tools/winapi/win32.api
index ee615dd..f7d9236 100644
--- a/tools/winapi/win32.api
+++ b/tools/winapi/win32.api
@@ -5589,6 +5589,10 @@ void
 
 %%ws2_32.dll
 
+%short
+
+WS_u_short
+
 %long
 
 BOOL
@@ -5600,13 +5604,12 @@ INT
 SOCKET
 UINT
 WORD
+WS_socklen_t
+WS_u_long
 WSAESETSERVICEOP
 WSAEVENT
 int
 long
-socklen_t
-u_long
-u_short
 
 %ptr
 
@@ -5638,6 +5641,8 @@ LPWSASERVICECLASSINFOW
 PADDRINFOW *
 SOCKADDR *
 WS_fd_set *
+WS_u_long *
+WS_u_short *
 int *
 struct WS_addrinfo *
 struct WS_addrinfo **
@@ -5646,8 +5651,6 @@ struct WS_protoent *
 struct WS_servent *
 struct WS_sockaddr *
 struct WS_timeval *
-u_long *
-u_short *
 
 %str
 




More information about the wine-cvs mailing list