Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/rpc Declare more local items static.



details:   https://anonhg.NetBSD.org/src/rev/cefe99a45754
branches:  trunk
changeset: 472054:cefe99a45754
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Apr 19 21:56:01 1999 +0000

description:
Declare more local items static.

diffstat:

 lib/libc/rpc/getrpcent.c  |  6 +++---
 lib/libc/rpc/svc_simple.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 348695eae66e -r cefe99a45754 lib/libc/rpc/getrpcent.c
--- a/lib/libc/rpc/getrpcent.c  Mon Apr 19 21:49:34 1999 +0000
+++ b/lib/libc/rpc/getrpcent.c  Mon Apr 19 21:56:01 1999 +0000
@@ -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 @@
 /*
  * Internet version.
  */
-struct rpcdata {
+static struct rpcdata {
        FILE    *rpcf;
        int     stayopen;
 #define        MAXALIASES      35
diff -r 348695eae66e -r cefe99a45754 lib/libc/rpc/svc_simple.c
--- a/lib/libc/rpc/svc_simple.c Mon Apr 19 21:49:34 1999 +0000
+++ b/lib/libc/rpc/svc_simple.c Mon Apr 19 21:56:01 1999 +0000
@@ -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 @@
 } *proglst;
 
 static SVCXPRT *transp;
-struct proglst *pl;
+static struct proglst *pl;
 
 static void universal __P((struct svc_req *, SVCXPRT *));
 



Home | Main Index | Thread Index | Old Index