diff options
Diffstat (limited to 'astmm.c')
-rwxr-xr-x | astmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,8 +58,8 @@ static struct ast_region { #define HASH(a) \ (((unsigned long)(a)) % SOME_PRIME) -static ast_mutex_t reglock = AST_MUTEX_INITIALIZER; -static ast_mutex_t showmemorylock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(reglock); +AST_MUTEX_DEFINE_STATIC(showmemorylock); static inline void *__ast_alloc_region(size_t size, int which, const char *file, int lineno, const char *func) { |