summaryrefslogtreecommitdiff
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-12 18:32:11 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-12 18:32:11 +0200
commitef9ba4461921ac472ffbb057e7423dfb7331508c (patch)
tree8582eedd9df9c77231f6d4c0cdb92f1671451a32 /libc/inet/resolv.c
parentcd5f92704e1e17bbc0c15d197f3bc236c7dc9bf2 (diff)
remove link warnings
As recently discussed on the pgsql mailinglist, this warnings are more or less useless and some configure scripts are failing when these warnings are enabled. http://www.postgresql.org/message-id/20150320132351.GS3636@alvh.no-ip.org
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 31e63810b..fffe4281c 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -2178,7 +2178,6 @@ int gethostbyname_r(const char *name,
return i;
}
libc_hidden_def(gethostbyname_r)
-link_warning(gethostbyname_r, "gethostbyname_r is obsolescent, use getnameinfo() instead.");
#endif /* L_gethostbyname_r */
@@ -2496,7 +2495,6 @@ int gethostbyaddr_r(const void *addr, socklen_t addrlen,
#undef in6
}
libc_hidden_def(gethostbyaddr_r)
-link_warning(gethostbyaddr_r, "gethostbyaddr_r is obsolescent, use getaddrinfo() instead.");
#endif /* L_gethostbyaddr_r */
@@ -2616,7 +2614,6 @@ struct hostent *gethostbyname(const char *name)
#endif
}
libc_hidden_def(gethostbyname)
-link_warning(gethostbyname, "gethostbyname is obsolescent, use getnameinfo() instead.");
#endif /* L_gethostbyname */
@@ -2638,7 +2635,6 @@ struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type)
return hp;
}
libc_hidden_def(gethostbyaddr)
-link_warning(gethostbyaddr, "gethostbyaddr is obsolescent, use getaddrinfo() instead.");
#endif /* L_gethostbyaddr */