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 --- codecs/codec_speex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codecs/codec_speex.c') diff --git a/codecs/codec_speex.c b/codecs/codec_speex.c index ae731fafa..4bd5155dd 100755 --- a/codecs/codec_speex.c +++ b/codecs/codec_speex.c @@ -37,7 +37,7 @@ #include "slin_speex_ex.h" #include "speex_slin_ex.h" -static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(localuser_lock); static int localusecnt=0; static char *tdesc = "Speex/PCM16 (signed linear) Codec Translator"; -- cgit v1.2.3