svn commit: r204650 - head/share/man/man9

John Baldwin jhb at freebsd.org
Wed Mar 3 19:13:27 UTC 2010


On Wednesday 03 March 2010 2:05:52 pm Ed Schouten wrote:
> * Gleb Smirnoff <glebius at FreeBSD.org> wrote:
> > Log:
> >   Remove C99 initializer, since dominant style is to use non-C99 
initializers.
> >   
> >   Requested by:	jhb
> 
> Maybe I'm flogging a dead horse, but this is 2010. Whether or not a
> compiler supports C99 is no longer an issue. We're already far beyond
> the point of going back to C89.

The point is that if you look at almost all of the new-bus drivers in the 
tree, they do not use C99 initializers to initialize their KOBJ class.
Given that, I do not see a reason to make driver(9) document a style that
almost no drivers use.  If we did want to do something different, we
should use the DEFINE_CLASS_0() macro that can be used to declare a KOBJ
class.

-- 
John Baldwin


More information about the svn-src-all mailing list