[vlc-commits] network: no need to declare net_Listen() locally
Steve Lhomme
git at videolan.org
Fri Jun 22 13:12:08 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 21 13:51:46 2018 +0200| [3d91aa3ff649745a2c11cd6357b94fce25db66d2] | committer: Steve Lhomme
network: no need to declare net_Listen() locally
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d91aa3ff649745a2c11cd6357b94fce25db66d2
---
src/network/tcp.c | 2 --
src/network/udp.c | 3 ---
2 files changed, 5 deletions(-)
diff --git a/src/network/tcp.c b/src/network/tcp.c
index f03a716899..a26f0cb998 100644
--- a/src/network/tcp.c
+++ b/src/network/tcp.c
@@ -57,8 +57,6 @@ static int SocksHandshakeTCP( vlc_object_t *,
int fd, int i_socks_version,
const char *psz_user, const char *psz_passwd,
const char *psz_host, int i_port );
-extern int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
- int i_protocol );
#undef net_Connect
/*****************************************************************************
diff --git a/src/network/udp.c b/src/network/udp.c
index d2d643cbbc..660e6d6c47 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -87,9 +87,6 @@
# define UDPLITE_RECV_CSCOV 11
#endif
-extern int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
- int i_protocol );
-
/* */
static int net_SetupDgramSocket (vlc_object_t *p_obj, int fd,
const struct addrinfo *ptr)
More information about the vlc-commits
mailing list