aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_gsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_gsm.c')
-rwxr-xr-xformats/format_gsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_gsm.c b/formats/format_gsm.c
index d58039e6d..619786e56 100755
--- a/formats/format_gsm.c
+++ b/formats/format_gsm.c
@@ -58,7 +58,7 @@ struct ast_filestream {
};
-static ast_mutex_t gsm_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(gsm_lock);
static int glistcnt = 0;
static char *name = "gsm";