diff options
Diffstat (limited to 'include/asterisk/lock.h')
-rwxr-xr-x | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 70a08abce..9542dbe06 100755 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -33,7 +33,7 @@ /* From now on, Asterisk REQUIRES Recursive (not error checking) mutexes and will not run without them. */ -#define AST_MUTEX_INITIALIZER PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP +#define AST_MUTEX_INITIALIZER { PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, NULL, 0, NULL, 0 } #define AST_MUTEX_KIND PTHREAD_MUTEX_RECURSIVE_NP struct ast_mutex_info { |