diff options
author | Russell Bryant <russell@russellbryant.com> | 2009-12-01 23:38:34 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2009-12-01 23:38:34 +0000 |
commit | 4a0c4b0578e0a434da7dc50f16cb7f50875c1b61 (patch) | |
tree | bcd3e752abcadde7a064fe22db3b4ed486595816 /funcs | |
parent | 507e579dc9ebe8526a57e50a56ac96665da09dfd (diff) |
Fix a build error on FreeBSD.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@232012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_lock.c | 2 |
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", |