summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpc_soc.c
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2006-02-27 22:10:59 +0000
committerdeischen <deischen@FreeBSD.org>2006-02-27 22:10:59 +0000
commit97af57388060392fb35871f19f1206393d0f76bd (patch)
tree61ac8090008b10d8e34bd08d89b00f5fc6574e20 /lib/libc/rpc/rpc_soc.c
parent2a2559a103e853552bf162079b75f0af0f21e574 (diff)
downloadFreeBSD-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/rpc_soc.c')
-rw-r--r--lib/libc/rpc/rpc_soc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c
index 7a98301..5922063 100644
--- a/lib/libc/rpc/rpc_soc.c
+++ b/lib/libc/rpc/rpc_soc.c
@@ -74,8 +74,7 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
#include "rpc_com.h"
-
-extern mutex_t rpcsoc_lock;
+#include "mt_misc.h"
static CLIENT *clnt_com_create(struct sockaddr_in *, rpcprog_t, rpcvers_t,
int *, u_int, u_int, char *);
@@ -399,7 +398,6 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
void *resultsp; /* pointer to results */
resultproc_t eachresult; /* call with each result obtained */
{
- extern mutex_t tsd_lock;
if (thr_main())
clnt_broadcast_result_main = eachresult;
OpenPOWER on IntegriCloud