Commit 3ecee5c4 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Don't VLC_EXPORT net_Close now that it's a #define

* update vlc_symbols.h

courmisch, can you please check ?
parent 78e2acb7
...@@ -109,7 +109,6 @@ static inline int net_ListenUDP1 (vlc_object_t *obj, const char *host, int port) ...@@ -109,7 +109,6 @@ static inline int net_ListenUDP1 (vlc_object_t *obj, const char *host, int port)
#define net_OpenDgram( a, b, c, d, e, g, h ) __net_OpenDgram(VLC_OBJECT(a), b, c, d, e, g, h) #define net_OpenDgram( a, b, c, d, e, g, h ) __net_OpenDgram(VLC_OBJECT(a), b, c, d, e, g, h)
VLC_EXPORT( int, __net_OpenDgram, ( vlc_object_t *p_this, const char *psz_bind, int i_bind, const char *psz_server, int i_server, int family, int proto ) ); VLC_EXPORT( int, __net_OpenDgram, ( vlc_object_t *p_this, const char *psz_bind, int i_bind, const char *psz_server, int i_server, int family, int proto ) );
VLC_EXPORT( void, net_Close, ( int fd ) );
VLC_EXPORT( void, net_ListenClose, ( int *fd ) ); VLC_EXPORT( void, net_ListenClose, ( int *fd ) );
VLC_EXPORT( int, net_SetDSCP, ( int fd, uint8_t dscp ) ); VLC_EXPORT( int, net_SetDSCP, ( int fd, uint8_t dscp ) );
...@@ -183,6 +182,9 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout); ...@@ -183,6 +182,9 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout);
# define SHUT_RDWR SD_BOTH # define SHUT_RDWR SD_BOTH
# define net_Close( fd ) closesocket ((SOCKET)fd) # define net_Close( fd ) closesocket ((SOCKET)fd)
#else #else
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
# define net_Close( fd ) (void)close (fd) # define net_Close( fd ) (void)close (fd)
#endif #endif
......
This diff is collapsed.
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