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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network/lookup.h') diff --git a/src/network/lookup.h b/src/network/lookup.h index 0468edbc..329aaa77 100644 --- a/src/network/lookup.h +++ b/src/network/lookup.h @@ -36,4 +36,6 @@ int __lookup_ipliteral(struct address buf[static 1], const char *name, int famil int __get_resolv_conf(struct resolvconf *, char *, size_t); +int __dns_parse(const unsigned char *, int, int (*)(void *, int, const void *, int, const void *), void *); + #endif -- cgit v1.2.1