summaryrefslogtreecommitdiff
path: root/src/network/dns_parse.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-07 15:51:00 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:29 -0400
commitc98bf5b8691b21373ff8d9698e89a75acdefdc75 (patch)
treed0b441e7e10c892e785a676e6ecd4450e3477fd5 /src/network/dns_parse.c
parent59d88940d20b40495c9d63560469b3a1ee5c8bc6 (diff)
downloadmusl-c98bf5b8691b21373ff8d9698e89a75acdefdc75.tar.gz
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.
Diffstat (limited to 'src/network/dns_parse.c')
-rw-r--r--src/network/dns_parse.c1
1 files changed, 1 insertions, 0 deletions
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 <string.h>
+#include "lookup.h"
int __dns_parse(const unsigned char *r, int rlen, int (*callback)(void *, int, const void *, int, const void *), void *ctx)
{