diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-02-07 11:13:47 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-02-07 11:13:47 +0000 |
| commit | 50a51e39a94b8beb86f48af98ce9572604ffe537 (patch) | |
| tree | 4c835629bada6a653918da0272ac69ffd4bd3daa /lib/libc | |
| parent | 079cbb98acbb31557dd10f9221290da13403be18 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/net/getnetbydns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c index a07b4312d3af..60c79a783c4f 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; |
