]> git.ipfire.org Git - thirdparty/glibc.git/commit
resolv: Move ns_samename into its own file, and into libc
authorFlorian Weimer <fweimer@redhat.com>
Mon, 19 Jul 2021 05:55:27 +0000 (07:55 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 19 Jul 2021 05:56:21 +0000 (07:56 +0200)
commit762a2b2d341a9d6a4ea088479616907c5b4e9a7b
treeac4897b58ae029f947c3033444044e1c54ad3389
parent08d4a98070c4c4f69c6d04f483d105121effba08
resolv: Move ns_samename into its own file, and into libc

But only as an internal symbol, __libc_ns_samename.  The libresolv
ABI is preserved.  This is because the function is deprecated, and
it does not make sense to add new symbol versions for deprecated
functions.

Also reformat the implementation to GNU style.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
include/arpa/nameser.h
resolv/Makefile
resolv/Versions
resolv/ns_print.c
resolv/ns_samedomain.c
resolv/ns_samename.c [new file with mode: 0644]
resolv/res_query.c
resolv/res_send.c
resolv/resolv-deprecated.c