diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2006-01-14 10:13:50 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2006-01-14 10:13:50 +0000 |
| commit | 41ecb87b06112f5c5ec1c81deb735501a6e8133e (patch) | |
| tree | 11bb34523fd3b455d9fe361e25c35b83173e7000 /contrib/bind9/lib/bind/irs/getnetent_r.c | |
| parent | 958288d0218912ac8c29b001f2992a68ae2180c6 (diff) | |
Notes
Diffstat (limited to 'contrib/bind9/lib/bind/irs/getnetent_r.c')
| -rw-r--r-- | contrib/bind9/lib/bind/irs/getnetent_r.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/bind9/lib/bind/irs/getnetent_r.c b/contrib/bind9/lib/bind/irs/getnetent_r.c index 0b540b00b3db..1f8290d17146 100644 --- a/contrib/bind9/lib/bind/irs/getnetent_r.c +++ b/contrib/bind9/lib/bind/irs/getnetent_r.c @@ -16,7 +16,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$Id: getnetent_r.c,v 1.3.206.1 2004/03/09 08:33:36 marka Exp $"; +static const char rcsid[] = "$Id: getnetent_r.c,v 1.3.206.2 2005/09/03 12:47:38 marka Exp $"; #endif /* LIBC_SCCS and not lint */ #include <port_before.h> @@ -118,6 +118,9 @@ setnetent_r(int stay_open, NET_R_ENT_ARGS) setnetent_r(int stay_open) #endif { +#ifdef NET_R_ENT_ARGS + UNUSED(ndptr); +#endif setnetent(stay_open); #ifdef NET_R_SET_RESULT return (NET_R_SET_RESULT); @@ -131,6 +134,9 @@ endnetent_r(NET_R_ENT_ARGS) endnetent_r() #endif { +#ifdef NET_R_ENT_ARGS + UNUSED(ndptr); +#endif endnetent(); NET_R_END_RESULT(NET_R_OK); } |
