summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;