mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-12 12:58:30 +00:00
Fix little macro (bug #3100)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
#include <asterisk/lock.h>
|
||||
|
||||
#define AST_LIST_LOCK(head) \
|
||||
ast_mutex_lock(&head->lock)
|
||||
ast_mutex_lock(&(head)->lock)
|
||||
|
||||
#define AST_LIST_UNLOCK(head) \
|
||||
ast_mutex_unlock(&head->lock)
|
||||
ast_mutex_unlock(&(head)->lock)
|
||||
|
||||
#define AST_LIST_HEAD(name, type) \
|
||||
struct name { \
|
||||
|
||||
Reference in New Issue
Block a user