diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-19 07:55:27 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-19 07:56:21 +0200 |
commit | 391e02236b931132c0e8b5ba4c3b087c2aaa1044 (patch) | |
tree | 692244699dcec82a94b0c2d82f09f9d21c4b7e47 /include | |
parent | fd8a87c0c1932de591e7ad108ff6288a4b6b18c9 (diff) | |
download | glibc-391e02236b931132c0e8b5ba4c3b087c2aaa1044.tar.gz |
resolv: Move dn_skipname to its own file and into libc
And reformat it to GNU style.
dn_skipname is used outside glibc, so do not deprecate it,
and export it as dn_skipname (not __dn_skipname). Due to internal
users, provide a __libc_dn_skipname alias, and keep __dn_skipname
as a pure compatibility symbol.
__dn_skipname@GLIBC_2.0 was moved using the script, and
dn_skipname@@GLIBC_2.34 was added using make update-all-abi.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/resolv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h index 602f184643..378b36d612 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -44,7 +44,6 @@ libresolv_hidden_proto (_sethtent) libresolv_hidden_proto (_gethtent) libresolv_hidden_proto (_gethtbyaddr) libresolv_hidden_proto (_gethtbyname2) -libresolv_hidden_proto (__dn_skipname) libresolv_hidden_proto (__res_hnok) libresolv_hidden_proto (__res_dnok) libresolv_hidden_proto (__putlong) @@ -66,6 +65,8 @@ libresolv_hidden_proto (__dn_count_labels) extern __typeof (dn_expand) __libc_dn_expand; libc_hidden_proto (__libc_dn_expand) +extern __typeof (dn_skipname) __libc_dn_skipname; +libc_hidden_proto (__libc_dn_skipname) # endif /* _RESOLV_H_ && !_ISOMAC */ #endif |