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:
Mark Spencer
2004-12-19 18:33:05 +00:00
parent f81cf74784
commit bfaa2734a6

View File

@@ -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 { \