From 90df28ccf7e5bc1ed22642a7acbacfdef5c3ad09 Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Sat, 6 Aug 2016 19:12:23 +0000 Subject: [PATCH] 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 --- share/man/man3/queue.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index b0c2163cb87..87cfc8bd6ea 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -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