cvs commit: src/share/man/man3 Makefile queue.3 src/sys/sys queue.h

Sam Leffler sam at freebsd.org
Thu May 22 17:02:23 UTC 2008


Maxim Sobolev wrote:
> Ed Schouten wrote:
>>   The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the 
>> list
>>   head, even though it is unused. 
>
> I don't think it's necessary. sys/queue.h API is not supposed to be 
> portable across different operating systems. The need to pass list 
> head around may impede macro usefulness.
Gratuitous differences impede porting.  If it's not a big deal then 
maintain compatibility.  We already have stupid differences in various 
areas that must be papered over when code is brokered between systems.

    Sam



More information about the cvs-all mailing list