From owner-cvs-src@FreeBSD.ORG Thu May 22 17:15:16 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5077C1065712 for ; Thu, 22 May 2008 17:15:16 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.pkgsrc-box.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1FD258FC1B for ; Thu, 22 May 2008 17:15:14 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.pkgsrc-box.org [127.0.0.1]) by www.pkgsrc-box.org (Postfix) with ESMTP id 1920FE506A7 for ; Thu, 22 May 2008 17:15:01 +0000 (UTC) Received: by britannica.bec.de (Postfix, from userid 1000) id 66DFC16FBE; Thu, 22 May 2008 19:14:25 +0200 (CEST) Date: Thu, 22 May 2008 19:14:25 +0200 From: Joerg Sonnenberger To: cvs-src@freebsd.org Message-ID: <20080522171425.GA18366@britannica.bec.de> References: <200805221440.m4MEe32W039559@repoman.freebsd.org> <4835A619.3010502@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4835A619.3010502@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: cvs commit: src/share/man/man3 Makefile queue.3 src/sys/sys queue.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 17:15:16 -0000 On Thu, May 22, 2008 at 09:58:01AM -0700, Maxim Sobolev wrote: > Ed Schouten wrote: >> The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list >> head, even though it is unused. > > I don't think it's necessary. sys/queue.h API is not supposed to be > portable across different operating systems. The need to pass list head > around may impede macro usefulness. Having the list head makes it easier to assert list sanity for debugging though. Joerg