Fix lock initialization in lock debugging mode
authorMark Spencer <markster@digium.com>
Mon, 19 Apr 2004 21:52:39 +0000 (21:52 +0000)
committerMark Spencer <markster@digium.com>
Mon, 19 Apr 2004 21:52:39 +0000 (21:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2711 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/lock.h

index 70a08ab..9542dbe 100755 (executable)
@@ -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 {