projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f81cf74
)
Fix little macro (bug #3100)
author
Mark Spencer
<markster@digium.com>
Sun, 19 Dec 2004 18:33:05 +0000
(18:33 +0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 19 Dec 2004 18:33:05 +0000
(18:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4486
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/linkedlists.h
patch
|
blob
|
history
diff --git
a/include/asterisk/linkedlists.h
b/include/asterisk/linkedlists.h
index
6fd7787
..
75f0aa2
100755
(executable)
--- a/
include/asterisk/linkedlists.h
+++ b/
include/asterisk/linkedlists.h
@@
-4,10
+4,10
@@
#include <asterisk/lock.h>
#define AST_LIST_LOCK(head) \
#include <asterisk/lock.h>
#define AST_LIST_LOCK(head) \
- ast_mutex_lock(&head->lock)
+ ast_mutex_lock(&(head)->lock)
#define AST_LIST_UNLOCK(head) \
#define AST_LIST_UNLOCK(head) \
- ast_mutex_unlock(&head->lock)
+ ast_mutex_unlock(&(head)->lock)
#define AST_LIST_HEAD(name, type) \
struct name { \
#define AST_LIST_HEAD(name, type) \
struct name { \