]> git.sesse.net Git - vlc/commitdiff
make net_SetDSCP static
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 16 Aug 2007 20:05:06 +0000 (20:05 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 16 Aug 2007 20:05:06 +0000 (20:05 +0000)
include/vlc_network.h
src/libvlc.sym
src/network/udp.c

index 3b7f248075b8d4ec243d5c16fbb27650c38aa878..020af68075a38b0b8449a6d06d75d33f011ed1e0 100644 (file)
@@ -113,7 +113,6 @@ static inline int net_ListenUDP1 (vlc_object_t *obj, const char *host, int port)
 
 VLC_EXPORT( void, net_ListenClose, ( int *fd ) );
 
-VLC_EXPORT( int, net_SetDSCP, ( int fd, uint8_t dscp ) );
 int net_Subscribe (vlc_object_t *obj, int fd, const struct sockaddr *addr,
                    socklen_t addrlen);
 
index fa305f7bad4280b785e0d312899904dfb25c6285..1f4f60e63e32a356386b9398ed1157d2a4d7a571 100644 (file)
@@ -197,7 +197,6 @@ net_ListenClose
 net_Printf
 __net_Read
 __net_Select
-net_SetDSCP
 __net_vaPrintf
 __net_Write
 osd_ConfigLoader
index 0bd13a7fac8b94e8b269239e847228658aea2486..4e436da86ec59e14abafdab42e94d0c536159fb4 100644 (file)
@@ -549,7 +549,7 @@ int net_Subscribe (vlc_object_t *obj, int fd,
 }
 
 
-int net_SetDSCP( int fd, uint8_t dscp )
+static int net_SetDSCP( int fd, uint8_t dscp )
 {
     struct sockaddr_storage addr;
     if( getsockname( fd, (struct sockaddr *)&addr, &(socklen_t){ sizeof (addr) }) )