diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-19 18:33:05 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-19 18:33:05 +0000 |
commit | 65750c5590f9f7dbdeec2717ce2320fc0893540d (patch) | |
tree | 7df8045eddbdb17bc36f866b52f5eca35577bb98 /include | |
parent | 36717aff04ce6ad70f15cb0455fe7db000ba9a39 (diff) |
Fix little macro (bug #3100)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4486 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/linkedlists.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index 6fd778792..75f0aa2cf 100755 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -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 { \ |