git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-11-11 01:30:34 +00:00
parent 9e4c207dd3
commit 7e939cb273
2 changed files with 4 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ struct name { \
*/
#define AST_LIST_HEAD_SET(head, entry) do { \
(head)->first = (entry); \
(head)->last = NULL; \
(head)->last = (entry); \
ast_mutex_init(&(head)->lock); \
} while (0)
@@ -152,7 +152,7 @@ struct name { \
*/
#define AST_LIST_HEAD_SET_NOLOCK(head, entry) do { \
(head)->first = (entry); \
(head)->last = NULL; \
(head)->last = (entry); \
} while (0)
/*!