On Thu, Nov 6, 2014 at 4:03 AM, Taylor R Campbell <campbell+netbsd-source-change...@mumble.net> wrote: > Why use a string-keyed table with run-time lookups instead of a C > object with a C declaration? > > /* ioconf.h */ > extern struct cfiattrdata xxxbus; > > /* xxx.c */ > config_found(self, &xxxbus);
I tend to prefer indirect lookup to direct reference almost everywhere in config(9). But in this case reference would be fine.