[vlc-commits] vlc_getaddrinfo: remove unused define

Steve Lhomme git at videolan.org
Sat May 7 20:37:58 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Fri Apr 29 09:38:43 2016 +0200| [7ccd1b406bc29d8bb50dc9126a6ec0eef039f58b] | committer: Jean-Baptiste Kempf

vlc_getaddrinfo: remove unused define

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7ccd1b406bc29d8bb50dc9126a6ec0eef039f58b
---

 src/network/getaddrinfo.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/network/getaddrinfo.c b/src/network/getaddrinfo.c
index 16dd68e..5f5d0ef 100644
--- a/src/network/getaddrinfo.c
+++ b/src/network/getaddrinfo.c
@@ -37,10 +37,6 @@
 #include <sys/types.h>
 #include <vlc_network.h>
 
-#ifndef AF_UNSPEC
-#   define AF_UNSPEC   0
-#endif
-
 int vlc_getnameinfo( const struct sockaddr *sa, int salen,
                      char *host, int hostlen, int *portnum, int flags )
 {



More information about the vlc-commits mailing list