Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2013 05:29:03 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Lawrence Stewart <lstewart@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Adding a FOREACH_CONTINUE() variant to queue(3)
Message-ID:  <74840.1367386143@critter.freebsd.dk>
In-Reply-To: <518092BF.9070105@freebsd.org>
References:  <518092BF.9070105@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <518092BF.9070105@freebsd.org>, Lawrence Stewart writes:
>[reposting from freebsd-arch@ - was probably the wrong list]

>#define TAILQ_FOREACH_CONTINUE(var, head, field)		\

Obligatory bikeshedding:

I find the suffix "_CONTINUE" non-obvious, as there may not have
been any previos FOREACH involved.

TAILQ_FOREACH_FROM(...) ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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