<sys/queue.h> bikeshed proposal

Dag-Erling Smørgrav des at des.no
Tue Mar 13 09:45:35 UTC 2007


Poul-Henning Kamp <phk at phk.freebsd.dk> writes:
> It has always bothered me that some of the TAILQ macros need to
> know the struct name of the header type.
> [...]
> Obviously this is bikeshed fodder, but given how big a help <sys/queue.h>
> is programming-wise, and given that those four macros are comparatively
> seldomly used, I will propose to remove this wart from <sys/queue.h>
> under the banner of computer science in general and suffer the minor
> backwards compatibility issues it will cause.

The backwards compatibility issues may be minor, but the
compatibility-with-other-BSDs issues aren't...

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list