tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: patch make struct protosw pr_input non-variadic



> These aren't casts, per se -- they're what C99 calls compound literals
> (Sec. 6.5.2.5, p. 75).  They do not indicate any sort of type punning:
> it's just a way to create an anonymous structure object and get its
> address as a constant initializer.  I did this to make the patch
> easier to review and to avoid a proliferation of global constants.


Looks like I'll need to fix lint again :-)

christos


Home | Main Index | Thread Index | Old Index