summaryrefslogtreecommitdiff
path: root/indications.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-06-09 01:45:08 +0000
committerMark Spencer <markster@digium.com>2004-06-09 01:45:08 +0000
commit727abcdec7ad92fc2fae2585c5c609e0663858a6 (patch)
treee9c8ee99dcb97720b3dfb49c87b2f2c0b6f6f6b6 /indications.c
parentc96046b6c2c34b77bcc8a86ab5816c092d21bd7b (diff)
Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'indications.c')
-rwxr-xr-xindications.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/indications.c b/indications.c
index 1f8b55555..25b98a0ca 100755
--- a/indications.c
+++ b/indications.c
@@ -229,7 +229,7 @@ static struct tone_zone *current_tonezone;
/* Protect the tone_zones list (highly unlikely that two things would change
* it at the same time, but still! */
-ast_mutex_t tzlock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_EXPORTED(tzlock);
/* Set global indication country */
int ast_set_indication_country(const char *country)