diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2008-07-27 07:06:43 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2008-07-27 07:06:43 +0000 |
commit | d1bccfb237db4ffbd5f678bb50b02f10b5fc2918 (patch) | |
tree | e1148dffba3a1bc6bc20a7a2224e2edb2a7deb9e /share | |
parent | 51fe28e486dcdc83590b8256f050ec00427fc1b6 (diff) |
Get TAILQ_REPLACE and CIRCLEQ_REPLACE prototypes right.
ok jaredy
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man3/queue.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index ceafdb62856..5928eeb70b6 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: queue.3,v 1.46 2008/03/31 13:15:53 jmc Exp $ +.\" $OpenBSD: queue.3,v 1.47 2008/07/27 07:06:42 stefan 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. @@ -30,7 +30,7 @@ .\" .\" @(#)queue.3 8.1 (Berkeley) 12/13/93 .\" -.Dd $Mdocdate: March 31 2008 $ +.Dd $Mdocdate: July 27 2008 $ .Dt QUEUE 3 .Os .Sh NAME @@ -220,7 +220,7 @@ .Ft void .Fn TAILQ_REMOVE "TAILQ_HEAD *head" "struct TYPE *elm" "TAILQ_ENTRY NAME" .Ft void -.Fn TAILQ_REPLACE "struct TYPE *elm" "struct TYPE *elm2" "TAILQ_ENTRY NAME" +.Fn TAILQ_REPLACE "TAILQ_HEAD *head" "struct TYPE *elm" "struct TYPE *elm2" "TAILQ_ENTRY NAME" .Pp .Fn CIRCLEQ_ENTRY "TYPE" .Fn CIRCLEQ_HEAD "HEADNAME" "TYPE" @@ -252,7 +252,7 @@ .Ft void .Fn CIRCLEQ_REMOVE "CIRCLEQ_HEAD *head" "struct TYPE *elm" "CIRCLEQ_ENTRY NAME" .Ft void -.Fn CIRCLEQ_REPLACE "struct TYPE *elm" "struct TYPE *elm2" "CIRCLEQ_ENTRY NAME" +.Fn CIRCLEQ_REPLACE "CIRCLEQ_HEAD *head" "struct TYPE *elm" "struct TYPE *elm2" "CIRCLEQ_ENTRY NAME" .Sh DESCRIPTION These macros define and operate on five types of data structures: singly-linked lists, simple queues, lists, tail queues, and circular queues. |