Declare more local items static.
This commit is contained in:
parent
2e7ad061ee
commit
94281e536b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: getrpcent.c,v 1.13 1998/11/15 17:32:42 christos Exp $ */
|
||||
/* $NetBSD: getrpcent.c,v 1.14 1999/04/19 21:56:01 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
@ -35,7 +35,7 @@
|
||||
#if 0
|
||||
static char *sccsid = "@(#)getrpcent.c 1.14 91/03/11 Copyr 1984 Sun Micro";
|
||||
#else
|
||||
__RCSID("$NetBSD: getrpcent.c,v 1.13 1998/11/15 17:32:42 christos Exp $");
|
||||
__RCSID("$NetBSD: getrpcent.c,v 1.14 1999/04/19 21:56:01 kleink Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -68,7 +68,7 @@ __weak_alias(setrpcent,_setrpcent);
|
||||
/*
|
||||
* Internet version.
|
||||
*/
|
||||
struct rpcdata {
|
||||
static struct rpcdata {
|
||||
FILE *rpcf;
|
||||
int stayopen;
|
||||
#define MAXALIASES 35
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svc_simple.c,v 1.14 1999/01/31 20:45:31 christos Exp $ */
|
||||
/* $NetBSD: svc_simple.c,v 1.15 1999/04/19 21:56:01 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
@ -35,7 +35,7 @@
|
||||
static char *sccsid = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
|
||||
static char *sccsid = "@(#)svc_simple.c 2.2 88/08/01 4.0 RPCSRC";
|
||||
#else
|
||||
__RCSID("$NetBSD: svc_simple.c,v 1.14 1999/01/31 20:45:31 christos Exp $");
|
||||
__RCSID("$NetBSD: svc_simple.c,v 1.15 1999/04/19 21:56:01 kleink Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -73,7 +73,7 @@ static struct proglst {
|
||||
} *proglst;
|
||||
|
||||
static SVCXPRT *transp;
|
||||
struct proglst *pl;
|
||||
static struct proglst *pl;
|
||||
|
||||
static void universal __P((struct svc_req *, SVCXPRT *));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user