diff options
Diffstat (limited to 'include/asterisk/module.h')
-rwxr-xr-x | include/asterisk/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h index b7a5184e8..aba72980d 100755 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -152,7 +152,7 @@ void ast_unregister_atexit(void (*func)(void)); struct localuser *next; \ } -#define LOCAL_USER_DECL static ast_mutex_t localuser_lock = AST_MUTEX_INITIALIZER; \ +#define LOCAL_USER_DECL AST_MUTEX_DEFINE_STATIC(localuser_lock); \ static struct localuser *localusers = NULL; \ static int localusecnt = 0; |