Author: bjk (doc committer)
Date: Sat Aug  6 19:12:23 2016
New Revision: 303805
URL: https://svnweb.freebsd.org/changeset/base/303805

Log:
  Re-correct the documentation for the 'type' parameter of the _SWAP
  macros from sys/queue.h -- only the singly-linked forms do not need
  the 'field' argument.
  
  Pointy Hat to:        bjk
  Reported by:  akshay1994.leo_gmail.com

Modified:
  head/share/man/man3/queue.3

Modified: head/share/man/man3/queue.3
==============================================================================
--- head/share/man/man3/queue.3 Sat Aug  6 19:05:01 2016        (r303804)
+++ head/share/man/man3/queue.3 Sat Aug  6 19:12:23 2016        (r303805)
@@ -184,7 +184,7 @@ lists and tail queues
 .Fn LIST_NEXT "TYPE *elm" "LIST_ENTRY NAME"
 .Fn LIST_PREV "TYPE *elm" "LIST_HEAD *head" "TYPE" "LIST_ENTRY NAME"
 .Fn LIST_REMOVE "TYPE *elm" "LIST_ENTRY NAME"
-.Fn LIST_SWAP "LIST_HEAD *head1" "LIST_HEAD *head2" "TYPE"
+.Fn LIST_SWAP "LIST_HEAD *head1" "LIST_HEAD *head2" "TYPE" "LIST_ENTRY NAME"
 .\"
 .Fn TAILQ_CLASS_ENTRY "CLASSTYPE"
 .Fn TAILQ_CLASS_HEAD "HEADNAME" "CLASSTYPE"
@@ -211,7 +211,7 @@ lists and tail queues
 .Fn TAILQ_NEXT "TYPE *elm" "TAILQ_ENTRY NAME"
 .Fn TAILQ_PREV "TYPE *elm" "HEADNAME" "TAILQ_ENTRY NAME"
 .Fn TAILQ_REMOVE "TAILQ_HEAD *head" "TYPE *elm" "TAILQ_ENTRY NAME"
-.Fn TAILQ_SWAP "TAILQ_HEAD *head1" "TAILQ_HEAD *head2" "TYPE"
+.Fn TAILQ_SWAP "TAILQ_HEAD *head1" "TAILQ_HEAD *head2" "TYPE" "TAILQ_ENTRY 
NAME"
 .\"
 .Sh DESCRIPTION
 These macros define and operate on four types of data structures which
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to