Re: An anomaly in config(1)

2016-07-16 Thread David Holland
On Sat, Jul 16, 2016 at 02:27:32PM +0800, Paul Goyette wrote: > Is there a reason for emitting these unused externs? "bugs" It's obviously wrong, so I think you should just commit the fix... :-) -- David A. Holland dholl...@netbsd.org

An anomaly in config(1)

2016-07-15 Thread Paul Goyette
While looking at config(1), and particularly the code that emits the devsw.c file, I notice that we generate a extern const struct bdevsw xxx_bdevsw; line for every _character_ device we encountered in the configuration! So, for example, the first line generated is for cons_bdevsw, eve