<sys/queue.h> bikeshed proposal

Julian Elischer julian at elischer.org
Tue Mar 13 18:52:20 UTC 2007


Dag-Erling Smørgrav wrote:
> 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

please discuss this with Kirk as my memory is that he had a 
hand in the original implementation (or at least knew the story).



More information about the freebsd-arch mailing list