Commit e4980cf9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

win32: remove unused net_strerror()

parent c4199ab6
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
# define net_errno (WSAGetLastError()) # define net_errno (WSAGetLastError())
extern const char *net_strerror( int val );
struct iovec struct iovec
{ {
......
...@@ -23,18 +23,8 @@ ...@@ -23,18 +23,8 @@
#endif #endif
#include <vlc_common.h> #include <vlc_common.h>
#include <errno.h>
#include <vlc_network.h> #include <vlc_network.h>
const char *net_strerror( int value )
{
/* There doesn't seem to be any portable error message generation for
* Winsock errors. Some old versions had s_error, but it appears to be
* gone, and is not documented.
*/
return vlc_strerror(value);
}
#if 0 #if 0
ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags) ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
{ {
......
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