diff options
Diffstat (limited to 'translate.c')
-rwxr-xr-x | translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.c b/translate.c index 1a9529542..56f0e5e99 100755 --- a/translate.c +++ b/translate.c @@ -34,7 +34,7 @@ /* This could all be done more efficiently *IF* we chained packets together by default, but it would also complicate virtually every application. */ -static ast_mutex_t list_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(list_lock); static struct ast_translator *list = NULL; struct ast_translator_dir { |