diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-04-04 14:36:02 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-04-04 20:56:23 +0200 |
commit | 44f28da7cab271b659551c4fe1a7d2e420803576 (patch) | |
tree | 20a35f17595d3d5dfc54989b6cf6981563cb0e5a /include | |
parent | 75b3a15e077dbfdfd8cbb3449369379e700b9972 (diff) | |
download | glibc-44f28da7cab271b659551c4fe1a7d2e420803576.zip glibc-44f28da7cab271b659551c4fe1a7d2e420803576.tar.gz glibc-44f28da7cab271b659551c4fe1a7d2e420803576.tar.bz2 |
nss_dns: Replace local declarations with declarations from a header file
Diffstat (limited to 'include')
-rw-r--r-- | include/arpa/nameser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h index cd7ab6e..7a8290e 100644 --- a/include/arpa/nameser.h +++ b/include/arpa/nameser.h @@ -51,6 +51,9 @@ extern const struct _ns_flagdata _ns_flagdata[] attribute_hidden; extern unsigned int __ns_get16 (const unsigned char *) __THROW; extern unsigned long __ns_get32 (const unsigned char *) __THROW; +int __ns_name_ntop (const unsigned char *, char *, size_t) __THROW; +int __ns_name_unpack (const unsigned char *, const unsigned char *, + const unsigned char *, unsigned char *, size_t) __THROW; #define ns_msg_getflag(handle, flag) \ (((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift) |