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

make net_SetDSCP static

parent aa5d11c7
......@@ -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);
......
......@@ -197,7 +197,6 @@ net_ListenClose
net_Printf
__net_Read
__net_Select
net_SetDSCP
__net_vaPrintf
__net_Write
osd_ConfigLoader
......
......@@ -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) }) )
......
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