[vlc-devel] commit: Fix symbols list ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun May 4 11:11:05 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun May 4 12:12:09 2008 +0300| [0c199e1522dffce240e08812c95efe2bb2518c3e]
Fix symbols list
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c199e1522dffce240e08812c95efe2bb2518c3e
---
include/vlc_network.h | 6 ++++--
src/libvlc.sym | 2 ++
src/network/winsock.c | 4 ++--
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/include/vlc_network.h b/include/vlc_network.h
index 643b4eb..ce413f8 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -59,8 +59,10 @@ struct msghdr
int msg_flags;
};
-VLC_EXPORT( ssize_t, sendmsg, ( int, struct msghdr *, int ) );
-VLC_EXPORT( ssize_t, recvmsg, ( int, struct msghdr *, int ) );
+VLC_EXPORT( ssize_t, vlc_sendmsg, ( int, struct msghdr *, int ) );
+VLC_EXPORT( ssize_t, vlc_recvmsg, ( int, struct msghdr *, int ) );
+#define sendmsg vlc_sendmsg
+#define recvmsg vlc_recvmsg
# ifndef IPV6_V6ONLY
# define IPV6_V6ONLY 27
diff --git a/src/libvlc.sym b/src/libvlc.sym
index dc445b4..4e2f8c1 100644
--- a/src/libvlc.sym
+++ b/src/libvlc.sym
@@ -434,8 +434,10 @@ vlc_parse_cmdline
vlc_pthread_fatal
vlc_rand_bytes
vlc_readdir
+vlc_recvmsg
vlc_scandir
vlc_sdp_Start
+vlc_sendmsg
vlc_strcasecmp
vlc_strcasestr
vlc_strdup
diff --git a/src/network/winsock.c b/src/network/winsock.c
index fecd3fd..a5a718a 100644
--- a/src/network/winsock.c
+++ b/src/network/winsock.c
@@ -148,7 +148,7 @@ const char *net_strerror( int value )
return "Unknown network stack error";
}
-ssize_t sendmsg (int s, struct msghdr *hdr, int flags)
+ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags)
{
/* WSASendMsg would be more straightforward, and would support ancilliary
* data, but it's not yet in mingw32. */
@@ -170,7 +170,7 @@ ssize_t sendmsg (int s, struct msghdr *hdr, int flags)
return -1;
}
-ssize_t recvmsg (int s, struct msghdr *hdr, int flags)
+ssize_t vlc_recvmsg (int s, struct msghdr *hdr, int flags)
{
/* WSARecvMsg would be more straightforward, and would support ancilliary
* data, but it's not yet in mingw32. */
More information about the vlc-devel
mailing list