From: Mark Spencer Date: Mon, 19 Apr 2004 21:52:39 +0000 (+0000) Subject: Fix lock initialization in lock debugging mode X-Git-Tag: 1.0.0-rc1~720 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a84bb950fae8b17ad0173d04eb589082153d1cb8;p=thirdparty%2Fasterisk.git Fix lock initialization in lock debugging mode git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2711 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index 70a08abce3..9542dbe068 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 {