Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2006 07:01:25 GMT
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        ray@cyth.net, ache@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/91996: [headers] SLIST_FOREACH_PREVPTR() macro is wrong
Message-ID:  <200602030701.k1371PxX045871@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: [headers] SLIST_FOREACH_PREVPTR() macro is wrong

State-Changed-From-To: open->closed
State-Changed-By: ache
State-Changed-When: Fri Feb 3 06:56:54 UTC 2006
State-Changed-Why: 
You misunderstand what SLIST_FOREACH_PREVPTR() macro does.

It is not for returning pointer to previous element, but for returning pointers
to head->first or prev->next fields (to remove current element from the list)


http://www.freebsd.org/cgi/query-pr.cgi?pr=91996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602030701.k1371PxX045871>