[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: ws2_32 janitorial questions
From: "Juan Lang" <juan.lang () gmail ! com>
Date: 2008-03-31 4:08:13
Message-ID: 3a768c550803302108x5b980f6av1eda8c583146a07e () mail ! gmail ! com
[Download RAW message or body]
> ws2_32/async.c has the following global declarations:
>
> /* protoptypes of some functions in socket.c
> */
> UINT16 wsaErrno(void);
> UINT16 wsaHerrno(int errnr);
>
> ws2_32/socket.c has the following global declarations:
>
> UINT wsaErrno(void);
> UINT wsaHerrno(int errnr);
>
> Where are these functions defined? And, assuming that the above are
> conflicting declarations, what type does each of these functions actually
> return?
socket.c:
http://source.winehq.org/source/dlls/ws2_32/socket.c#L4055
They return UINTs. The return types don't conflict if compiled with a
32-bit compiler, but the one in async.c at least looks incorrect.
--Juan
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic