aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'frame.c')
-rwxr-xr-xframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frame.c b/frame.c
index 1e80f0b0d..f8905ca95 100755
--- a/frame.c
+++ b/frame.c
@@ -29,7 +29,7 @@
#ifdef TRACE_FRAMES
static int headers = 0;
static struct ast_frame *headerlist = NULL;
-static ast_mutex_t framelock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(framelock);
#endif
#define SMOOTHER_SIZE 8000