aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/module.h')
-rwxr-xr-xinclude/asterisk/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 214e38f02..b270c111c 100755
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -149,7 +149,7 @@ void ast_module_reload(void);
struct localuser *next; \
}
-#define LOCAL_USER_DECL static pthread_mutex_t localuser_lock = PTHREAD_MUTEX_INITIALIZER; \
+#define LOCAL_USER_DECL static pthread_mutex_t localuser_lock = AST_MUTEX_INITIALIZER; \
static struct localuser *localusers = NULL; \
static int localusecnt = 0;