diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-04-25 08:18:42 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-04-25 08:18:42 +0000 |
commit | 24e9d680e2ca037842a619f22736f7eb4d5fc026 (patch) | |
tree | 865a3a08d1ba20266237f80bf22f8bf3560c376b /lib/libc | |
parent | 32ea9426229670794e2bdb631c006336f0eac35f (diff) |
Do not define 'pl' globally. From Bjorn Sandell" <biorn at dce dot chalmers
dot se>. ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/svc_simple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c index be5e3883c3d..86b42175a44 100644 --- a/lib/libc/rpc/svc_simple.c +++ b/lib/libc/rpc/svc_simple.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: svc_simple.c,v 1.8 2005/04/01 07:44:04 otto Exp $"; +static char *rcsid = "$OpenBSD: svc_simple.c,v 1.9 2005/04/25 08:18:41 otto Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -53,14 +53,14 @@ static struct proglst { xdrproc_t p_inproc, p_outproc; struct proglst *p_nxt; } *proglst; -static void universal(struct svc_req *rqstp, SVCXPRT *transp); +static void universal(struct svc_req *, SVCXPRT *); static SVCXPRT *transp; -struct proglst *pl; int registerrpc(int prognum, int versnum, int procnum, char *(*progname)(), xdrproc_t inproc, xdrproc_t outproc) { + struct proglst *pl; if (procnum == NULLPROC) { (void) fprintf(stderr, |