In message <[EMAIL PROTECTED]>, Mike Smith writes:
>> >I objected to a recent commit hiding the fact that this is
>> >"(elm)->field.sle_next". Anyway, curelm must be a pointer to a struct.
>> >Not just any struct; the struct must contain a "field" declared using
>> >SLIST_ENTRY().
>>
>> It could be an union or class as well...
>
>It would not be very useful if it were a union; the class issue is valid
>(although you could trivially use a struct contained within a class and a
>parent reference) but definitely not a good enough argument to support
>the massive breakage this otherwise entails.
I have yet to see any signs of "massive breakage".
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message