> 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
