diff options
Diffstat (limited to 'dns.c')
-rwxr-xr-x | dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ static int dns_parse_answer(void *context, #if defined(res_ninit) #define HAS_RES_NINIT #else -static ast_mutex_t res_lock = AST_MUTEX_INITIALIZER; +AST_MUTEX_DEFINE_STATIC(res_lock); #if 0 #warning "Warning, res_ninit is missing... Could have reentrancy issues" #endif |