Date: Thu, 22 May 2008 19:14:25 +0200 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: cvs-src@freebsd.org Subject: Re: cvs commit: src/share/man/man3 Makefile queue.3 src/sys/sys queue.h Message-ID: <20080522171425.GA18366@britannica.bec.de> In-Reply-To: <4835A619.3010502@FreeBSD.org> References: <200805221440.m4MEe32W039559@repoman.freebsd.org> <4835A619.3010502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080522171425.GA18366>