fix build for non debug threads

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-06-03 18:43:01 +00:00
parent 51051ce949
commit 85dfb6348b

View File

@@ -1493,6 +1493,8 @@ typedef pthread_rwlock_t ast_rwlock_t;
#define AST_RWLOCK_INIT_VALUE { 0 } #define AST_RWLOCK_INIT_VALUE { 0 }
#endif #endif
#define ast_rwlock_init_notracking(a) ast_rwlock_init(a)
static inline int ast_rwlock_init(ast_rwlock_t *prwlock) static inline int ast_rwlock_init(ast_rwlock_t *prwlock)
{ {
int res; int res;