From c98bf5b8691b21373ff8d9698e89a75acdefdc75 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 7 Sep 2018 15:51:00 -0400 Subject: move and deduplicate declarations of __dns_parse to make it checkable the source file for this function is completely standalone, but it doesn't seem worth adding a header just for it, so declare it in lookup.h for now. --- src/network/lookup_name.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/network/lookup_name.c') diff --git a/src/network/lookup_name.c b/src/network/lookup_name.c index 1bce4347..71c396a8 100644 --- a/src/network/lookup_name.c +++ b/src/network/lookup_name.c @@ -98,7 +98,6 @@ struct dpc_ctx { int cnt; }; -int __dns_parse(const unsigned char *, int, int (*)(void *, int, const void *, int, const void *), void *); int __dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int); int __res_mkquery(int, const char *, int, int, const unsigned char *, int, const unsigned char*, unsigned char *, int); int __res_msend_rc(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int, const struct resolvconf *); -- cgit v1.2.1