summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-06-03 18:43:01 +0000
committerRussell Bryant <russell@russellbryant.com>2008-06-03 18:43:01 +0000
commit85dfb6348b84a6e81017b4f7d90014b6e18b0ccf (patch)
treed6e3a4cf25dd1b9aee70315a95be049c0490ca15 /include
parent51051ce9499ee83e977caa66de1af9ba80493ad0 (diff)
fix build for non debug threads
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;