On Wednesday 03 March 2010 2:05:52 pm Ed Schouten wrote: > * Gleb Smirnoff <gleb...@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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"