From 44f28da7cab271b659551c4fe1a7d2e420803576 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 4 Apr 2017 14:36:02 +0200 Subject: nss_dns: Replace local declarations with declarations from a header file --- include/arpa/nameser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h index cd7ab6e925..7a8290e1f2 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) -- cgit v1.2.3