Hi Zach,

* Zachary Loafman <z...@freebsd.org> wrote:
> I personally find the first form clearer to skim through visually. The
> second form moves 'head1' and 'head2' around. It's not like it's hard to
> follow, but I think the first is clearer to read. I don't think the
> TAILQ_FIRST buys you much here.

Yeah, that's true. The TAILQ uses a sentinel to terminate the list,
which means it's sometimes harder, if not impossible to do this. Leaving
it as it is right now is probably a good idea.

-- 
 Ed Schouten <e...@80386.nl>
 WWW: http://80386.nl/

Attachment: pgp4md1tw2dv3.pgp
Description: PGP signature

Reply via email to