]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
correct error in doxygen docs
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 6 Apr 2005 02:06:27 +0000 (02:06 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 6 Apr 2005 02:06:27 +0000 (02:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5417 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/linkedlists.h

index de30f4f73c1478c4fc88d14b7b42fbec7b459be5..edf3e164e573780257c35b4ba7ac722b37c70b72 100755 (executable)
@@ -61,7 +61,7 @@ struct name {                                                         \
   This macro initializes a list head structure by setting the head
   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);                                          \
        ast_pthread_mutex_init(&(head)->lock,NULL);                             \
 } while (0)
@@ -169,7 +169,7 @@ struct {                                                            \
   ...
   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)
   }
   AST_LIST_TRAVERSE_SAFE_END