diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-12-30 18:43:04 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-12-30 18:43:04 +0100 |
commit | e7eceec0bc34b520a66c688dc81a0b0d4e36610f (patch) | |
tree | 2eecf466aa90126759ddc1492c30266acb9c3e02 /resolv/Makefile | |
parent | 769998892d4f39d912fbe147eca9a3e89318cffc (diff) | |
download | glibc-e7eceec0bc34b520a66c688dc81a0b0d4e36610f.tar.gz glibc-e7eceec0bc34b520a66c688dc81a0b0d4e36610f.tar.xz glibc-e7eceec0bc34b520a66c688dc81a0b0d4e36610f.zip |
resolv: Turn historic name lookup functions into compat symbols
This change also removes the preprocessor-based function renaming. It also applied to tests in resolv/, which ended up running against the historic functions. _endhtent was not part of the ABI because it is not listed in the resolv/Versions file.
Diffstat (limited to 'resolv/Makefile')
-rw-r--r-- | resolv/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index 06329e1f5c..bd086e0e7d 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -42,11 +42,12 @@ routines += gai_sigqueue tests += tst-res_hconf_reorder endif extra-libs-others = $(extra-libs) -libresolv-routines := gethnamaddr res_comp res_debug \ +libresolv-routines := res_comp res_debug \ res_data res_mkquery res_query res_send \ inet_net_ntop inet_net_pton inet_neta base64 \ ns_parse ns_name ns_netint ns_ttl ns_print \ - ns_samedomain ns_date compat-hooks + ns_samedomain ns_date \ + compat-hooks compat-gethnamaddr libanl-routines := gai_cancel gai_error gai_misc gai_notify gai_suspend \ getaddrinfo_a @@ -84,12 +85,6 @@ generated += mtrace-tst-leaks.out tst-leaks.mtrace \ include ../Rules -CPPFLAGS += -Dgethostbyname=res_gethostbyname \ - -Dgethostbyname2=res_gethostbyname2 \ - -Dgethostbyaddr=res_gethostbyaddr \ - -Dgetnetbyname=res_getnetbyname \ - -Dgetnetbyaddr=res_getnetbyaddr - CFLAGS-res_hconf.c = -fexceptions # The DNS NSS modules needs the resolver. |