From 727abcdec7ad92fc2fae2585c5c609e0663858a6 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 9 Jun 2004 01:45:08 +0000 Subject: Merge FreeBSD locking fixes (bug #1411) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/codec_a_mu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codecs/codec_a_mu.c') diff --git a/codecs/codec_a_mu.c b/codecs/codec_a_mu.c index 4b6634262..84d23a146 100755 --- a/codecs/codec_a_mu.c +++ b/codecs/codec_a_mu.c @@ -27,7 +27,7 @@ #define BUFFER_SIZE 8096 /* size for the translation buffers */ -static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(localuser_lock); static int localusecnt = 0; static char *tdesc = "A-law and Mulaw direct Coder/Decoder"; -- cgit v1.2.3