aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rwxr-xr-xfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index ad80d5272..1e896e8cd 100755
--- a/file.c
+++ b/file.c
@@ -79,7 +79,7 @@ struct ast_filestream {
struct ast_channel *owner;
};
-static ast_mutex_t formatlock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(formatlock);
static struct ast_format *formats = NULL;