From 107ef321d3cc17d146d3ea2ef8e38b5964096061 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 22 Oct 1995 14:51:39 +0000 Subject: Well, cvs commit core'ed on me, I belive I have got all the locks out, but a commit mail got lost, it's the same as for this commit: lib/libc/gen confstr.c crypt.c disklabel.c fstab.c getcap.c getgrent.c getgrouplist.c getpass.c getpwent.c initgroups.c nlist.c psignal.c pwcache.c setmode.c sleep.c sysconf.c sysctl.c syslog.c usleep.c lib/libc/locale none.c read_runemagi.c setlocale.c lib/libc/net gethostbydns.c getnetbydns.c getnetbynis.c lib/libc/nls msgcat.c lib/libc/quad Makefile.inc lib/libc/regex engine.c regcomp.c regerror.c Minor cleanup, mostly unused vars and missing #includes. Limit the number of quad functions we pull in for 'i386'. I still belive the quad stuff should go back into gcc. Add compile-time warnings about crypt functions. --- lib/libc/rpc/getrpcent.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/libc/rpc/getrpcent.c') diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index f94fcff..e9b919c 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.1 1994/08/07 18:35:51 wollman Exp $"; +static char *rcsid = "$Id: getrpcent.c,v 1.2 1995/05/30 05:41:21 rgrimes Exp $"; #endif /* @@ -38,6 +38,7 @@ static char *rcsid = "$Id: getrpcent.c,v 1.1 1994/08/07 18:35:51 wollman Exp $"; */ #include +#include #include #include #include @@ -205,8 +206,8 @@ getrpcent() int reason; register struct rpcdata *d = _rpcdata(); #ifdef YP - char *key = NULL, *val = NULL; - int keylen, vallen; + char *val = NULL; + int vallen; #endif if (d == 0) -- cgit v1.1