Zebediah Figura : ws2_32: Get rid of supported_pf().
Alexandre Julliard
julliard at winehq.org
Wed Aug 4 16:41:36 CDT 2021
Module: wine
Branch: master
Commit: c07da78a2e3ceb69019e04c1a70dfacf761c8bdf
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c07da78a2e3ceb69019e04c1a70dfacf761c8bdf
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Tue Aug 3 23:53:32 2021 -0500
ws2_32: Get rid of supported_pf().
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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
More information about the wine-cvs
mailing list