diff options
Diffstat (limited to 'lib/libc/net/getnetnamadr.c')
-rw-r--r-- | lib/libc/net/getnetnamadr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/getnetnamadr.c b/lib/libc/net/getnetnamadr.c index 8d892a1bce4..ad8ff5540a8 100644 --- a/lib/libc/net/getnetnamadr.c +++ b/lib/libc/net/getnetnamadr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnetnamadr.c,v 1.4 1997/04/03 08:33:06 downsj Exp $ */ +/* $OpenBSD: getnetnamadr.c,v 1.5 1997/04/05 21:13:08 millert Exp $ */ /* Copyright (c) 1993 Carlos Leandro and Rui Salgueiro * Dep. Matematica Universidade de Coimbra, Portugal, Europe @@ -46,7 +46,7 @@ static char sccsid[] = "@(#)getnetbyaddr.c 8.1 (Berkeley) 6/4/93"; static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03"; static char rcsid[] = "$From: getnetnamadr.c,v 8.7 1996/08/05 08:31:35 vixie Exp $"; #else -static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.4 1997/04/03 08:33:06 downsj Exp $"; +static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.5 1997/04/05 21:13:08 millert Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -66,7 +66,7 @@ static char rcsid[] = "$OpenBSD: getnetnamadr.c,v 1.4 1997/04/03 08:33:06 downsj extern int h_errno; -struct netent *_getnetbyaddr __P((long net, int type)); +struct netent *_getnetbyaddr __P((in_addr_t net, int type)); struct netent *_getnetbyname __P((const char *name)); int _hokchar __P((const char *)); @@ -211,14 +211,14 @@ getnetanswer(answer, anslen, net_i) struct netent * getnetbyaddr(net, net_type) - register u_long net; + register in_addr_t net; register int net_type; { unsigned int netbr[4]; int nn, anslen; querybuf buf; char qbuf[MAXDNAME]; - unsigned long net2; + in_addr_t net2; struct netent *net_entry; char lookups[MAXDNSLUS]; int i; |