Andrew Talbot : ws2_32: Remove unused function.

Alexandre Julliard julliard at winehq.org
Thu May 22 06:26:30 CDT 2008


Module: wine
Branch: master
Commit: 0c1407008dabb8f82e27aa136f0070ca440bd00a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0c1407008dabb8f82e27aa136f0070ca440bd00a

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed May 21 21:50:27 2008 +0100

ws2_32: Remove unused function.

---

 dlls/ws2_32/socket.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index c24a049..d0d2a13 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -579,17 +579,6 @@ static int convert_sockopt(INT *level, INT *optname)
   return 0;
 }
 
-static inline BOOL is_timeout_option( int optname )
-{
-#ifdef SO_RCVTIMEO
-    if (optname == SO_RCVTIMEO) return TRUE;
-#endif
-#ifdef SO_SNDTIMEO
-    if (optname == SO_SNDTIMEO) return TRUE;
-#endif
-    return FALSE;
-}
-
 /* ----------------------------------- Per-thread info (or per-process?) */
 
 static char *strdup_lower(const char *str)




More information about the wine-cvs mailing list