diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-08 16:08:22 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-08 16:08:22 +0000 |
commit | 38725b4cacd776c378e4427633490a22125a2686 (patch) | |
tree | 33c9142d17191ed5bd2f7096b417fee40ae8b732 /share/man/man3 | |
parent | 7d301ed869dd9ff818e6f107d9853bd84d816a16 (diff) |
swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSD
and NetBSD do.
ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@
Diffstat (limited to 'share/man/man3')
-rw-r--r-- | share/man/man3/queue.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index b9d5832bb6b..6b74bb5f28b 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: queue.3,v 1.33 2003/12/16 21:08:20 millert Exp $ +.\" $OpenBSD: queue.3,v 1.34 2004/04/08 16:08:21 henning Exp $ .\" $NetBSD: queue.3,v 1.4 1995/07/03 00:25:36 mycroft Exp $ .\" .\" Copyright (c) 1993 The Regents of the University of California. @@ -200,7 +200,7 @@ .Ft "bool" .Fn TAILQ_EMPTY "TAILQ_HEAD *head" .Fn TAILQ_FOREACH "VARNAME" "TAILQ_HEAD *head" "TAILQ_ENTRY NAME" -.Fn TAILQ_FOREACH_REVERSE "VARNAME" "TAILQ_HEAD *head" "TAILQ_ENTRY NAME" "HEADNAME" +.Fn TAILQ_FOREACH_REVERSE "VARNAME" "TAILQ_HEAD *head" "HEADNAME" "TAILQ_ENTRY NAME" .Ft void .Fn TAILQ_INIT "TAILQ_HEAD *head" .Ft void @@ -824,7 +824,7 @@ starts at the first element and proceeds towards the last. starts at the last element and proceeds towards the first. .Bd -literal -offset indent TAILQ_FOREACH(np, &head, NAME) -TAILQ_FOREACH_REVERSE(np, &head, NAME, HEADNAME) +TAILQ_FOREACH_REVERSE(np, &head, HEADNAME, NAME) .Ed .Pp The |