Commit c07da78a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ws2_32: Get rid of supported_pf().

parent ccbb0eef
...@@ -727,26 +727,6 @@ void WINAPI WSASetLastError(INT iError) { ...@@ -727,26 +727,6 @@ void WINAPI WSASetLastError(INT iError) {
SetLastError(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 /* Returns the length of the converted address if successful, 0 if it was too
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment