diff options
author | deischen <deischen@FreeBSD.org> | 2006-02-27 22:10:59 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2006-02-27 22:10:59 +0000 |
commit | 97af57388060392fb35871f19f1206393d0f76bd (patch) | |
tree | 61ac8090008b10d8e34bd08d89b00f5fc6574e20 /lib/libc/rpc/svc_simple.c | |
parent | 2a2559a103e853552bf162079b75f0af0f21e574 (diff) | |
download | FreeBSD-src-97af57388060392fb35871f19f1206393d0f76bd.zip FreeBSD-src-97af57388060392fb35871f19f1206393d0f76bd.tar.gz |
Staticize a couple of functions.
Remove a few unused locks.
Remove locks from application namespace.
Diffstat (limited to 'lib/libc/rpc/svc_simple.c')
-rw-r--r-- | lib/libc/rpc/svc_simple.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c index 2acae4b..95d34a6 100644 --- a/lib/libc/rpc/svc_simple.c +++ b/lib/libc/rpc/svc_simple.c @@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" #include "rpc_com.h" +#include "mt_misc.h" static void universal(struct svc_req *, SVCXPRT *); @@ -106,8 +107,6 @@ rpc_reg(prognum, versnum, procnum, progname, inproc, outproc, nettype) struct netconfig *nconf; int done = FALSE; void *handle; - extern mutex_t proglst_lock; - if (procnum == NULLPROC) { @@ -250,7 +249,6 @@ universal(rqstp, transp) char *outdata; char *xdrbuf; struct proglst *pl; - extern mutex_t proglst_lock; /* * enforce "procnum 0 is echo" convention |