mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 07:01:09 +00:00
correct error in doxygen docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -61,7 +61,7 @@ struct name { \
|
|||||||
This macro initializes a list head structure by setting the head
|
This macro initializes a list head structure by setting the head
|
||||||
entry to the supplied value and recreating the embedded lock.
|
entry to the supplied value and recreating the embedded lock.
|
||||||
*/
|
*/
|
||||||
#define AST_LIST_HEAD_SET(head,entry) do { \
|
#define AST_LIST_HEAD_SET(head, entry) do { \
|
||||||
(head)->first=(entry); \
|
(head)->first=(entry); \
|
||||||
ast_pthread_mutex_init(&(head)->lock,NULL); \
|
ast_pthread_mutex_init(&(head)->lock,NULL); \
|
||||||
} while (0)
|
} while (0)
|
||||||
@@ -169,7 +169,7 @@ struct { \
|
|||||||
...
|
...
|
||||||
struct list_entry *current;
|
struct list_entry *current;
|
||||||
...
|
...
|
||||||
AST_LIST_TRAVERSE_SAFE_BEGIN(&entries, current, list_entry, list) {
|
AST_LIST_TRAVERSE_SAFE_BEGIN(&entries, current, list) {
|
||||||
(do something with current here)
|
(do something with current here)
|
||||||
}
|
}
|
||||||
AST_LIST_TRAVERSE_SAFE_END
|
AST_LIST_TRAVERSE_SAFE_END
|
||||||
|
Reference in New Issue
Block a user