]> git.sesse.net Git - vlc/blobdiff - src/network/tcp.c
net: remove leading underscores
[vlc] / src / network / tcp.c
index cc4eb0aefdac1cb268ffcba3336c373b2d7bff6d..eba5594957171c4f5d9e5e2dad12d5654644d533 100644 (file)
@@ -65,14 +65,15 @@ static int SocksHandshakeTCP( vlc_object_t *,
 extern int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
                        int i_protocol );
 
+#undef net_Connect
 /*****************************************************************************
- * __net_Connect:
+ * net_Connect:
  *****************************************************************************
  * Open a network connection.
  * @return socket handler or -1 on error.
  *****************************************************************************/
-int __net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
-                   int type, int proto )
+int net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
+                 int type, int proto )
 {
     struct addrinfo hints, *res, *ptr;
     const char      *psz_realhost;