From ea9878ec271c791880fcbbe519d70c42f8113750 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 19 Jul 2021 07:55:27 +0200 Subject: 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 Tested-by: Carlos O'Donell --- resolv/resolv-internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resolv/resolv-internal.h') diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h index 3cf8a77..216e47e 100644 --- a/resolv/resolv-internal.h +++ b/resolv/resolv-internal.h @@ -62,13 +62,13 @@ libc_hidden_proto (__res_context_mkquery) int __res_context_search (struct resolv_context *, const char *, int, int, unsigned char *, int, unsigned char **, unsigned char **, int *, int *, int *); -libresolv_hidden_proto (__res_context_search) +libc_hidden_proto (__res_context_search) /* Main resolver query function for use within glibc. */ int __res_context_query (struct resolv_context *, const char *, int, int, unsigned char *, int, unsigned char **, unsigned char **, int *, int *, int *); -libresolv_hidden_proto (__res_context_query) +libc_hidden_proto (__res_context_query) /* Internal function used to implement the query and search functions. */ -- cgit v1.1