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/dns_parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/dns_parse.c') diff --git a/src/network/dns_parse.c b/src/network/dns_parse.c index 0c7a6011..e6ee19d9 100644 --- a/src/network/dns_parse.c +++ b/src/network/dns_parse.c @@ -1,4 +1,5 @@ #include +#include "lookup.h" int __dns_parse(const unsigned char *r, int rlen, int (*callback)(void *, int, const void *, int, const void *), void *ctx) { -- cgit v1.2.1