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_vc.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_vc.c')
-rw-r--r-- | lib/libc/rpc/svc_vc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/rpc/svc_vc.c b/lib/libc/rpc/svc_vc.c index 3584694..50c6651 100644 --- a/lib/libc/rpc/svc_vc.c +++ b/lib/libc/rpc/svc_vc.c @@ -68,10 +68,9 @@ __FBSDID("$FreeBSD$"); #include <rpc/rpc.h> #include "rpc_com.h" +#include "mt_misc.h" #include "un-namespace.h" -extern rwlock_t svc_fd_lock; - static SVCXPRT *makefd_xprt(int, u_int, u_int); static bool_t rendezvous_request(SVCXPRT *, struct rpc_msg *); static enum xprt_stat rendezvous_stat(SVCXPRT *); @@ -672,7 +671,6 @@ svc_vc_ops(xprt) { static struct xp_ops ops; static struct xp_ops2 ops2; - extern mutex_t ops_lock; /* VARIABLES PROTECTED BY ops_lock: ops, ops2 */ @@ -697,7 +695,6 @@ svc_vc_rendezvous_ops(xprt) { static struct xp_ops ops; static struct xp_ops2 ops2; - extern mutex_t ops_lock; mutex_lock(&ops_lock); if (ops.xp_recv == NULL) { |