summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/key_call.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/key_call.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/key_call.c')
-rw-r--r--lib/libc/rpc/key_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/key_call.c b/lib/libc/rpc/key_call.c
index be4cf82..615f24d 100644
--- a/lib/libc/rpc/key_call.c
+++ b/lib/libc/rpc/key_call.c
@@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$");
#include <sys/wait.h>
#include <sys/fcntl.h>
#include "un-namespace.h"
+#include "mt_misc.h"
#define KEY_TIMEOUT 5 /* per-try timeout in seconds */
@@ -307,7 +308,6 @@ int vers;
int main_thread;
int fd;
static thread_key_t key_call_key;
- extern mutex_t tsd_lock;
#define TOTAL_TIMEOUT 30 /* total timeout talking to keyserver */
#define TOTAL_TRIES 5 /* Number of tries */
OpenPOWER on IntegriCloud