svn commit: r186751 - in head/sys: netinet6 netipsec

Bjoern A. Zeeb bz at FreeBSD.org
Mon Jan 5 09:30:09 PST 2009


On Sun, 4 Jan 2009, Robert Watson wrote:

>
> On Sun, 4 Jan 2009, Ed Schouten wrote:
>
>> * Robert Watson <rwatson at FreeBSD.org> wrote:
>>>   Unlike with struct protosw, several instances of struct ip6protosw
>>>   did not use C99-style sparse structure initialization, so remove
>>>   NULL assignments for now-removed pr_usrreq function pointers.
>> 
>> Maybe we should convert them to use the C99-style initialisation. This 
>> could prevent similar issues in the future, right?
>
> I think Bjoern already has a work-in-progress on this one, but yes, that 
> would be a good idea.

I have broken it out from a larger patch; the C99 initializer is here:
http://people.freebsd.org/~bz/20090105-02-c99-initializers.diff

I case someone can give it a quick glance I'll commit them.

/bz

-- 
Bjoern A. Zeeb                      The greatest risk is not taking one.


More information about the svn-src-all mailing list