From: stefan Date: Sun, 27 Jul 2008 07:06:42 +0000 (+0000) Subject: Get TAILQ_REPLACE and CIRCLEQ_REPLACE prototypes right. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f415427ed936dc29f20a5f247682c0ff0510fe56;p=openbsd Get TAILQ_REPLACE and CIRCLEQ_REPLACE prototypes right. ok jaredy --- 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.