aboutsummaryrefslogtreecommitdiff
path: root/resolv/resolv.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-19 07:55:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-19 07:56:57 +0200
commitea9878ec271c791880fcbbe519d70c42f8113750 (patch)
treea26723d85e45c86be9ff7199f954418d34e7ef65 /resolv/resolv.h
parent21a497cc58df2b9b02dc687b97f105335e7a1c50 (diff)
downloadglibc-ea9878ec271c791880fcbbe519d70c42f8113750.zip
glibc-ea9878ec271c791880fcbbe519d70c42f8113750.tar.gz
glibc-ea9878ec271c791880fcbbe519d70c42f8113750.tar.bz2
resolv: Move res_query functions into libc
This switches to public symbols without __ prefixes, due to improved namespace management in glibc. The script was used with --no-new-version to move the symbols __res_nquery, __res_nquerydomain, __res_nsearch, __res_query, __res_querydomain, __res_search, res_query, res_querydomain, res_search. The public symbols res_nquery, res_nquerydomain, res_nsearch, res_ownok, res_query, res_querydomain, res_search were added with make update-all-abi. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r--resolv/resolv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 21c88ca..e7c8d44 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -168,9 +168,6 @@ __END_DECLS
#define res_close __res_close
#define res_init __res_init
#define res_isourserver __res_isourserver
-#define res_query __res_query
-#define res_querydomain __res_querydomain
-#define res_search __res_search
#ifdef _LIBC
# define __RESOLV_DEPRECATED
@@ -227,9 +224,6 @@ __END_DECLS
#define res_nameinquery __res_nameinquery
#define res_nclose __res_nclose
#define res_ninit __res_ninit
-#define res_nquery __res_nquery
-#define res_nquerydomain __res_nquerydomain
-#define res_nsearch __res_nsearch
#define res_queriesmatch __res_queriesmatch
#define res_randomid __res_randomid
#define sym_ntop __sym_ntop