summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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