aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/lock.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-19 21:52:39 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-19 21:52:39 +0000
commitfd1adbae30b3df48c878e5b82f208fcb6364fe76 (patch)
treeda4bc06a13abe3e8037242afe95c59317d5cc1e4 /include/asterisk/lock.h
parent73bc7d526494aa973e0854c8d30f3524549a3a9b (diff)
Fix lock initialization in lock debugging mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2711 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/lock.h')
-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 {