From db5b349cf7aa19c2b6169fbb65597f2e741714ab Mon Sep 17 00:00:00 2001 From: otto Date: Fri, 25 Mar 2005 13:24:11 +0000 Subject: ansify. ok deraadt@ moritz@ --- lib/libc/net/getnetbyaddr.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/libc/net/getnetbyaddr.c') diff --git a/lib/libc/net/getnetbyaddr.c b/lib/libc/net/getnetbyaddr.c index 29365d4735f..82d1ea1dcaa 100644 --- a/lib/libc/net/getnetbyaddr.c +++ b/lib/libc/net/getnetbyaddr.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getnetbyaddr.c,v 1.6 2003/06/02 20:18:35 millert Exp $"; +static char rcsid[] = "$OpenBSD: getnetbyaddr.c,v 1.7 2005/03/25 13:24:12 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -36,11 +36,9 @@ static char rcsid[] = "$OpenBSD: getnetbyaddr.c,v 1.6 2003/06/02 20:18:35 miller extern int _net_stayopen; struct netent * -_getnetbyaddr(net, type) - register in_addr_t net; - register int type; +_getnetbyaddr(in_addr_t net, int type) { - register struct netent *p; + struct netent *p; setnetent(_net_stayopen); while ((p = getnetent())) -- cgit v1.2.3-59-g8ed1b