move and deduplicate declarations of __dns_parse to make it checkable
authorRich Felker <dalias@aerifal.cx>
Fri, 7 Sep 2018 19:51:00 +0000 (15:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 12 Sep 2018 18:34:29 +0000 (14:34 -0400)
commitc98bf5b8691b21373ff8d9698e89a75acdefdc75
treed0b441e7e10c892e785a676e6ecd4450e3477fd5
parent59d88940d20b40495c9d63560469b3a1ee5c8bc6
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
src/network/getnameinfo.c
src/network/lookup.h
src/network/lookup_name.c