diff options
Diffstat (limited to 'main/heap.c')
-rw-r--r-- | main/heap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/heap.c b/main/heap.c index 929965f5f..9c4379aba 100644 --- a/main/heap.c +++ b/main/heap.c @@ -308,15 +308,15 @@ size_t ast_heap_size(struct ast_heap *h) int __ast_heap_wrlock(struct ast_heap *h, const char *file, const char *func, int line) { - return __ast_rwlock_wrlock(&h->lock, "&h->lock", file, line, func); + return __ast_rwlock_wrlock(file, line, func, &h->lock, "&h->lock"); } int __ast_heap_rdlock(struct ast_heap *h, const char *file, const char *func, int line) { - return __ast_rwlock_rdlock(&h->lock, "&h->lock", file, line, func); + return __ast_rwlock_rdlock(file, line, func, &h->lock, "&h->lock"); } int __ast_heap_unlock(struct ast_heap *h, const char *file, const char *func, int line) { - return __ast_rwlock_unlock(&h->lock, "&h->lock", file, line, func); + return __ast_rwlock_unlock(file, line, func, &h->lock, "&h->lock"); } |