]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix build for non debug threads
authorRussell Bryant <russell@russellbryant.com>
Tue, 3 Jun 2008 18:43:01 +0000 (18:43 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 3 Jun 2008 18:43:01 +0000 (18:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/lock.h

index e46a6a010292d8dd9a5a3a87feb055433f4ce303..516c4627fddb14c2f1ec93cdc470e232956dd379 100644 (file)
@@ -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;