diff options
| author | James Raynard <jraynard@FreeBSD.org> | 1996-06-11 17:22:51 +0000 | 
|---|---|---|
| committer | James Raynard <jraynard@FreeBSD.org> | 1996-06-11 17:22:51 +0000 | 
| commit | b2843ce28883df87d756f51f007f7d96872d9198 (patch) | |
| tree | 0794adfeaf014167a9bcae491e23ec49d092fea9 /lib/libc | |
| parent | 94591e176e288171ae18822cfd4c68caf2ed8c6d (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/rpc/getrpcent.c | 6 | ||||
| -rw-r--r-- | lib/libc/rpc/svc.c | 4 | ||||
| -rw-r--r-- | lib/libc/rpc/svc_auth.c | 8 | 
3 files changed, 9 insertions, 9 deletions
| diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index 6556e613fc5b..eb278c09823a 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 diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c index 3bc9c1ddc0f4..06c060918bb7 100644 --- a/lib/libc/rpc/svc.c +++ b/lib/libc/rpc/svc.c @@ -30,7 +30,7 @@  #if defined(LIBC_SCCS) && !defined(lint)  /*static char *sccsid = "from: @(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";*/  /*static char *sccsid = "from: @(#)svc.c	2.4 88/08/11 4.0 RPCSRC";*/ -static char *rcsid = "$Id: svc.c,v 1.3 1995/10/22 14:51:34 phk Exp $"; +static char *rcsid = "$Id: svc.c,v 1.4 1996/06/10 00:49:18 jraynard Exp $";  #endif  /* @@ -417,7 +417,7 @@ svc_getreqset(readfds)  	setsize = _rpc_dtablesize();  	maskp = (u_long *)readfds->fds_bits;  	for (sock = 0; sock < setsize; sock += NFDBITS) { -	    for (mask = *maskp++; bit = ffs(mask); mask ^= (1 << (bit - 1))) { +	    for (mask = *maskp++; (bit = ffs(mask)); mask ^= (1 << (bit - 1))) {  		/* sock has input waiting */  		xprt = xports[sock + bit - 1];  #else diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c index 6c1e560c2be1..4ce0cafce463 100644 --- a/lib/libc/rpc/svc_auth.c +++ b/lib/libc/rpc/svc_auth.c @@ -30,7 +30,7 @@  #if defined(LIBC_SCCS) && !defined(lint)  /*static char *sccsid = "from: @(#)svc_auth.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/  /*static char *sccsid = "from: @(#)svc_auth.c	2.1 88/08/07 4.0 RPCSRC";*/ -static char *rcsid = "$Id: svc_auth.c,v 1.1 1994/08/07 18:36:07 wollman Exp $"; +static char *rcsid = "$Id: svc_auth.c,v 1.2 1995/05/30 05:41:32 rgrimes Exp $";  #endif  /* @@ -64,9 +64,9 @@ enum auth_stat _svcauth_short();	/* short hand unix style */  static struct {  	enum auth_stat (*authenticator)();  } svcauthsw[] = { -	_svcauth_null,			/* AUTH_NULL */ -	_svcauth_unix,			/* AUTH_UNIX */ -	_svcauth_short,			/* AUTH_SHORT */ +	{_svcauth_null},			/* AUTH_NULL */ +	{_svcauth_unix},			/* AUTH_UNIX */ +	{_svcauth_short},			/* AUTH_SHORT */  };  #define	AUTH_MAX	2		/* HIGHEST AUTH NUMBER */ | 
