From 72a51ac647b2fc33a44434d3d125a844801609ae Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 19 Jul 2021 07:55:27 +0200 Subject: resolv: Move res_nameinquery to its own file and into libc And reformat to GNU style. This deprecated function is used in the implementation of the stub resolver (for now). Keep the public symbol in libresolv for now (so that no new symbol version is needed), and add a forwarder to libresolv. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- include/resolv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/resolv.h b/include/resolv.h index a70e9e5723..4d328fe914 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -54,7 +54,6 @@ libresolv_hidden_proto (__p_type) libresolv_hidden_proto (__loc_ntoa) libresolv_hidden_proto (__fp_nquery) libresolv_hidden_proto (__fp_query) -libresolv_hidden_proto (__res_nameinquery) libresolv_hidden_proto (__res_queriesmatch) libresolv_hidden_proto (__b64_ntop) libresolv_hidden_proto (__dn_count_labels) @@ -67,6 +66,8 @@ extern __typeof (res_dnok) __libc_res_dnok; libc_hidden_proto (__libc_res_dnok) extern __typeof (res_hnok) __libc_res_hnok; libc_hidden_proto (__libc_res_hnok) +extern __typeof (__res_nameinquery) __libc_res_nameinquery; +libc_hidden_proto (__libc_res_nameinquery) # endif /* _RESOLV_H_ && !_ISOMAC */ #endif -- cgit v1.2.1