diff options
author | jraynard <jraynard@FreeBSD.org> | 1996-06-11 17:22:51 +0000 |
---|---|---|
committer | jraynard <jraynard@FreeBSD.org> | 1996-06-11 17:22:51 +0000 |
commit | e23bbcc2a98c2c149ee4872a1732a6b341d66f84 (patch) | |
tree | 0794adfeaf014167a9bcae491e23ec49d092fea9 /lib/libc/rpc/getrpcent.c | |
parent | ab0ef148aeb8f95b582d87536bd38ed68b2bbf01 (diff) | |
download | FreeBSD-src-e23bbcc2a98c2c149ee4872a1732a6b341d66f84.zip FreeBSD-src-e23bbcc2a98c2c149ee4872a1732a6b341d66f84.tar.gz |
Code cleanup:
Fixed a couple of nitpick warnings, plus one that slipped through the
net earlier.
This directory now compiles without any warnings with -Wall! (Until
the next gcc upgrade...)
Diffstat (limited to 'lib/libc/rpc/getrpcent.c')
-rw-r--r-- | lib/libc/rpc/getrpcent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index 6556e61..eb278c0 100644 --- a/lib/libc/rpc/getrpcent.c +++ b/lib/libc/rpc/getrpcent.c @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)getrpcent.c 1.14 91/03/11 Copyr 1984 Sun Micro";*/ -static char *rcsid = "$Id: getrpcent.c,v 1.3 1995/10/22 14:51:24 phk Exp $"; +static char *rcsid = "$Id: getrpcent.c,v 1.4 1996/06/10 20:13:04 jraynard Exp $"; #endif /* @@ -203,10 +203,10 @@ endrpcent() struct rpcent * getrpcent() { - struct rpcent *hp; - int reason; register struct rpcdata *d = _rpcdata(); #ifdef YP + struct rpcent *hp; + int reason; char *val = NULL; int vallen; #endif |