summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-19 21:52:39 +0000
committerMark Spencer <markster@digium.com>2004-04-19 21:52:39 +0000
commita84bb950fae8b17ad0173d04eb589082153d1cb8 (patch)
treeda4bc06a13abe3e8037242afe95c59317d5cc1e4 /include
parente9ea9975deac9af7335f54cdcd6d41ae0cd59dc1 (diff)
Fix lock initialization in lock debugging mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/lock.h2
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 {