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 | 7ed1ac6da3d6ae5bfbbf4c4bdce07a40e8113df8 (patch) | |
tree | ebca688a687d71113823efb9f1fc3c89fbd300bc /include/arpa | |
parent | 276e9822b3402d49a3c9bea713f89dc855812152 (diff) | |
download | glibc-7ed1ac6da3d6ae5bfbbf4c4bdce07a40e8113df8.tar.gz glibc-7ed1ac6da3d6ae5bfbbf4c4bdce07a40e8113df8.tar.xz glibc-7ed1ac6da3d6ae5bfbbf4c4bdce07a40e8113df8.zip |
resolv: Move ns_name_pack into its own file and into libc
And reformat to GNU style, and eliminate the labellen function. The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include/arpa')
-rw-r--r-- | include/arpa/nameser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h index c27008b5ff..02d7b0b553 100644 --- a/include/arpa/nameser.h +++ b/include/arpa/nameser.h @@ -65,7 +65,6 @@ libresolv_hidden_proto (ns_put32) libresolv_hidden_proto (ns_initparse) libresolv_hidden_proto (ns_skiprr) libresolv_hidden_proto (ns_parserr) -libresolv_hidden_proto (ns_name_pack) libresolv_hidden_proto (ns_name_compress) libresolv_hidden_proto (ns_sprintrr) libresolv_hidden_proto (ns_sprintrrf) @@ -76,6 +75,8 @@ libresolv_hidden_proto (ns_format_ttl) extern __typeof (ns_name_ntop) __ns_name_ntop; libc_hidden_proto (__ns_name_ntop) +extern __typeof (ns_name_pack) __ns_name_pack; +libc_hidden_proto (__ns_name_pack) extern __typeof (ns_name_pton) __ns_name_pton; libc_hidden_proto (__ns_name_pton) extern __typeof (ns_name_skip) __ns_name_skip; |