diff options
Diffstat (limited to 'lib/libc/rpc/svc_auth.c')
-rw-r--r-- | lib/libc/rpc/svc_auth.c | 3 |
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: |