]> git.sesse.net Git - vlc/commitdiff
Remove dead code
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 18 Sep 2007 16:27:50 +0000 (16:27 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 18 Sep 2007 16:27:50 +0000 (16:27 +0000)
modules/access_output/udp.c

index 1ec9f39e0cc4a2e929ef8a5859f765157bfb0ef7..9873ac718536de28564c88ca411e44167608051e 100644 (file)
 
 #define MAX_EMPTY_BLOCKS 200
 
-#if defined(WIN32) || defined(UNDER_CE)
-# define WINSOCK_STRERROR_SIZE 20
-static const char *winsock_strerror( char *buf )
-{
-    snprintf( buf, WINSOCK_STRERROR_SIZE, "Winsock error %d",
-              WSAGetLastError( ) );
-    buf[WINSOCK_STRERROR_SIZE - 1] = '\0';
-    return buf;
-}
-#endif
-
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/