Commit 98e742cd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

un-re-un-export net_ConvertIPv4

(it's obsolete and not used by any module anyway)
parent d519788c
......@@ -273,8 +273,6 @@ static inline char *vlc_b64_encode( char *src )
#define net_OpenTCP(a, b, c) __net_OpenTCP(VLC_OBJECT(a), b, c)
VLC_EXPORT( int, __net_OpenTCP, ( vlc_object_t *p_this, const char *psz_host, int i_port ) );
VLC_EXPORT( int, net_ConvertIPv4, ( uint32_t *p_addr, const char * psz_address ) );
#define net_ListenTCP(a, b, c) __net_ListenTCP(VLC_OBJECT(a), b, c)
VLC_EXPORT( int *, __net_ListenTCP, ( vlc_object_t *, const char *, int ) );
......
......@@ -81,8 +81,9 @@ static int SocksHandshakeTCP( vlc_object_t *,
* net_ConvertIPv4:
*****************************************************************************
* Open a TCP connection and return a handle
* FIXME: not thread-safe, should use vlc_getaddrinfo instead
*****************************************************************************/
int net_ConvertIPv4( uint32_t *p_addr, const char * psz_address )
static int net_ConvertIPv4( uint32_t *p_addr, const char * psz_address )
{
/* Reset struct */
if( !*psz_address )
......
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