Re: Cross-referencing frenzy

Rogier Wolff
2001-04-19T09:26:46Z

Eric S. Raymond wrote:
> Richard Gooch <rgooch@atnf.csiro.au>:
> > > Look at the filename. ;-) They're not being kept around, they just
> > > happen to be mentioned in the devfs ChangeLog, and esr's overzealous
> > > crossref tool caught them. *grin*
>
> I've already fixed that.
>
> > A cleaner solution is to parse the source code, ignoring comment
> > blocks. However, that's a bit more work.
>
> Not too hard. I think I can do that.

Eric,

I think it should be possible to do:

/* to enable the special stuff, change the "undef" to "define",
If you really want you can add this to Config.in so that you're presented
with this choice when configuring your kernel. But it's not neccesary
for the general public to always see this toggle. */
#undef CONFIG_SX_SPECIALSTUFF

#ifdef CONFIG_SX_SPECIALSTUFF
...

#endif

Roger.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots.
* There are also old, bald pilots.