diff options
Diffstat (limited to 'autoservice.c')
-rwxr-xr-x | autoservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoservice.c b/autoservice.c index 3f24db8c1..2f28f35a7 100755 --- a/autoservice.c +++ b/autoservice.c @@ -36,7 +36,7 @@ #define MAX_AUTOMONS 256 -static ast_mutex_t autolock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(autolock); struct asent { struct ast_channel *chan; |