diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-01 23:39:22 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-01 23:39:22 +0000 |
commit | 11252f3279e0562523d515733c6165532c2bccdc (patch) | |
tree | a613afba52c2401dd2b345bf4c20e7131db529b4 | |
parent | 17d5243181ec09e904bcb8dd5fcfab371883c9b3 (diff) |
Merged revisions 232012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r232012 | russell | 2009-12-01 17:38:34 -0600 (Tue, 01 Dec 2009) | 2 lines
Fix a build error on FreeBSD.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@232013 f38db490-d61c-443f-a65b-d21fe96a405b
-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 dff780e0d..6686cb34a 100644 --- a/funcs/func_lock.c +++ b/funcs/func_lock.c @@ -46,7 +46,7 @@ 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", |