summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnetbydns.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-07 11:13:47 +0000
committerru <ru@FreeBSD.org>2004-02-07 11:13:47 +0000
commitb377ec7a9a2093b8c3c6e8c28b306c8bc7094120 (patch)
tree4c835629bada6a653918da0272ac69ffd4bd3daa /lib/libc/net/getnetbydns.c
parent9d856a43dc7c8dc3074bc1b05dc268465e072e11 (diff)
downloadFreeBSD-src-b377ec7a9a2093b8c3c6e8c28b306c8bc7094120.zip
FreeBSD-src-b377ec7a9a2093b8c3c6e8c28b306c8bc7094120.tar.gz
Unbreak world.
Diffstat (limited to 'lib/libc/net/getnetbydns.c')
-rw-r--r--lib/libc/net/getnetbydns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c
index a07b431..60c79a7 100644
--- a/lib/libc/net/getnetbydns.c
+++ b/lib/libc/net/getnetbydns.c
@@ -107,7 +107,7 @@ typedef union {
* Out must contain space for at least strlen(in) characters.
* The result does not include any leading 0s of in.
*/
-static int
+static void
ipreverse(char *in, char *out)
{
char *pos[4];
@@ -169,7 +169,7 @@ getnetanswer(answer, anslen, net_i)
u_char *cp;
int n;
u_char *eom;
- int type, class, ancount, qdcount, haveanswer, i, nchar;
+ int type, class, ancount, qdcount, haveanswer;
char aux[MAXHOSTNAMELEN];
char *in, *bp, *ep, **ap;
static struct netent net_entry;
OpenPOWER on IntegriCloud