summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth.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/svc_auth.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/svc_auth.c')
-rw-r--r--lib/libc/rpc/svc_auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c
index 05202d09..eb1a5f2 100644
--- a/lib/libc/rpc/svc_auth.c
+++ b/lib/libc/rpc/svc_auth.c
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
#include <rpc/rpc.h>
#include <stdlib.h>
#include "un-namespace.h"
+#include "mt_misc.h"
/*
* svcauthsw is the bdevsw of server side authentication.
@@ -100,7 +101,6 @@ _authenticate(rqst, msg)
int cred_flavor;
struct authsvc *asp;
enum auth_stat dummy;
- extern mutex_t authsvc_lock;
/* VARIABLES PROTECTED BY authsvc_lock: asp, Auths */
@@ -172,7 +172,6 @@ svc_auth_reg(cred_flavor, handler)
enum auth_stat (*handler)(struct svc_req *, struct rpc_msg *);
{
struct authsvc *asp;
- extern mutex_t authsvc_lock;
switch (cred_flavor) {
case AUTH_NULL:
OpenPOWER on IntegriCloud