aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_lock.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-01 23:38:34 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-01 23:38:34 +0000
commit86e3a68b8ed4af0fcd06d61e6f8030bebee846dd (patch)
treebcd3e752abcadde7a064fe22db3b4ed486595816 /funcs/func_lock.c
parent1c6712eb5d465dc10a197337fcd11c981fe9d343 (diff)
Fix a build error on FreeBSD.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@232012 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_lock.c')
-rw-r--r--funcs/func_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_lock.c b/funcs/func_lock.c
index ef8ccfa57..27d199e36 100644
--- a/funcs/func_lock.c
+++ b/funcs/func_lock.c
@@ -93,7 +93,7 @@ static AST_LIST_HEAD_STATIC(locklist, lock_frame);
static void lock_free(void *data);
static void lock_fixup(void *data, struct ast_channel *oldchan, struct ast_channel *newchan);
static int unloading = 0;
-static pthread_t broker_tid = -1;
+static pthread_t broker_tid = AST_PTHREADT_NULL;
static struct ast_datastore_info lock_info = {
.type = "MUTEX",