From 85dfb6348b84a6e81017b4f7d90014b6e18b0ccf Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 3 Jun 2008 18:43:01 +0000 Subject: fix build for non debug threads git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120066 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/lock.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3