diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-28 11:27:49 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-28 12:53:51 +0200 |
commit | 74a69831556c91ef9c410a38f1e2bd37c305322f (patch) | |
tree | 161ad4cd08d9bea19a90b458187b3546c2443fd4 /resolv/nss_dns | |
parent | 561905e1374443ee2a2a2848fd31bc062e4bbcbf (diff) | |
download | glibc-74a69831556c91ef9c410a38f1e2bd37c305322f.tar.gz glibc-74a69831556c91ef9c410a38f1e2bd37c305322f.tar.xz glibc-74a69831556c91ef9c410a38f1e2bd37c305322f.zip |
resolv: Remove RESOLVSORT preprocess conditionals
Diffstat (limited to 'resolv/nss_dns')
-rw-r--r-- | resolv/nss_dns/dns-host.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c index 403a005812..93fee1038e 100644 --- a/resolv/nss_dns/dns-host.c +++ b/resolv/nss_dns/dns-host.c @@ -556,7 +556,6 @@ _nss_dns_gethostbyaddr_r (const void *addr, socklen_t len, int af, errnop, h_errnop, NULL); } -#ifdef RESOLVSORT static void addrsort (char **ap, int num); static void @@ -600,7 +599,6 @@ addrsort (char **ap, int num) else break; } -#endif static enum nss_status getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype, @@ -955,7 +953,6 @@ getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype, { *ap = NULL; *hap = NULL; -#if defined RESOLVSORT /* * Note: we sort even if host can take only one address * in its return structures - should give it the "best" @@ -963,7 +960,6 @@ getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype, */ if (_res.nsort && haveanswer > 1 && qtype == T_A) addrsort (host_data->h_addr_ptrs, haveanswer); -#endif /*RESOLVSORT*/ if (result->h_name == NULL) { |