From 7d00f23ad44d18c7041c925f7f556d5d1fe641ac Mon Sep 17 00:00:00 2001 From: markster Date: Wed, 9 Jun 2004 01:45:08 +0000 Subject: Merge FreeBSD locking fixes (bug #1411) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_musiconhold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_musiconhold.c') diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index d6bc6c760..27519a7ea 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -99,7 +99,7 @@ struct mohdata { static struct mohclass *mohclasses; -static ast_mutex_t moh_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(moh_lock); #define LOCAL_MPG_123 "/usr/local/bin/mpg123" #define MPG_123 "/usr/bin/mpg123" -- cgit v1.2.3