[PATCH 1/5] ws2_32: Get rid of supported_pf().
Zebediah Figura
zfigura at codeweavers.com
Tue Aug 3 23:53:32 CDT 2021
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
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
--
2.32.0
More information about the wine-devel
mailing list