aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-03 18:43:01 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-03 18:43:01 +0000
commitb4fec30e8e8fd726bfc1683d4e3c93ba6bb84b67 (patch)
treed6e3a4cf25dd1b9aee70315a95be049c0490ca15 /include
parent869f8f957397b54cefd8c618a7655081b6d3b0ac (diff)
fix build for non debug threads
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120066 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index e46a6a010..516c4627f 100644
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -1493,6 +1493,8 @@ typedef pthread_rwlock_t ast_rwlock_t;
#define AST_RWLOCK_INIT_VALUE { 0 }
#endif
+#define ast_rwlock_init_notracking(a) ast_rwlock_init(a)
+
static inline int ast_rwlock_init(ast_rwlock_t *prwlock)
{
int res;