Zebediah Figura : ws2_32: Get rid of supported_pf().
Module: wine Branch: master Commit: c07da78a2e3ceb69019e04c1a70dfacf761c8bdf URL: https://source.winehq.org/git/wine.git/?a=commit;h=c07da78a2e3ceb69019e04c1a... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Tue Aug 3 23:53:32 2021 -0500 ws2_32: Get rid of supported_pf(). Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ws2_32/socket.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 40e4ecb9325..2bcd15463f8 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -727,26 +727,6 @@ void WINAPI WSASetLastError(INT iError) { SetLastError(iError); } -static inline BOOL supported_pf(int pf) -{ - switch (pf) - { - case WS_AF_INET: - case WS_AF_INET6: - return TRUE; -#ifdef HAS_IPX - case WS_AF_IPX: - return TRUE; -#endif -#ifdef HAS_IRDA - case WS_AF_IRDA: - return TRUE; -#endif - default: - return FALSE; - } -} - /**********************************************************************/ /* Returns the length of the converted address if successful, 0 if it was too
participants (1)
-
Alexandre Julliard