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

Remove unused vlc_(send|recv)msg

parent 74eba5d8
......@@ -60,9 +60,6 @@ struct msghdr
int msg_flags;
};
#define sendmsg vlc_sendmsg
#define recvmsg vlc_recvmsg
# ifndef IPV6_V6ONLY
# define IPV6_V6ONLY 27
# endif
......@@ -80,9 +77,6 @@ struct msghdr
# define net_errno errno
#endif
VLC_EXPORT( ssize_t, vlc_sendmsg, ( int, struct msghdr *, int ) );
VLC_EXPORT( ssize_t, vlc_recvmsg, ( int, struct msghdr *, int ) );
# ifdef __cplusplus
extern "C" {
# endif
......
......@@ -475,7 +475,6 @@ __vlc_object_set_destructor
vlc_plugin_set
vlc_poll
vlc_rand_bytes
vlc_recvmsg
vlc_release
vlc_restorecancel
vlc_savecancel
......@@ -484,7 +483,6 @@ vlc_sd_GetNames
vlc_sdp_Start
vlc_sd_Start
vlc_sd_Stop
vlc_sendmsg
vlc_testcancel
vlc_thread_create
__vlc_thread_join
......
......@@ -564,18 +564,3 @@ ssize_t __net_vaPrintf( vlc_object_t *p_this, int fd, const v_socket_t *p_vs,
return i_ret;
}
#ifdef WIN32
/* vlc_sendmsg, vlc_recvmsg Defined in winsock.c */
#else /* !WIN32 */
ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
{
return sendmsg (s, hdr, flags);
}
ssize_t vlc_recvmsg (int s, struct msghdr *hdr, int flags)
{
return recvmsg (s, hdr, flags);
}
#endif /* WIN32 */
......@@ -148,6 +148,7 @@ const char *net_strerror( int value )
return "Unknown network stack error";
}
#if 0
ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
{
/* WSASendMsg would be more straightforward, and would support ancilliary
......@@ -208,3 +209,4 @@ ssize_t vlc_recvmsg (int s, struct msghdr *hdr, int flags)
#endif
return -1;
}
#endif
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