Re: Cross-referencing frenzy

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Thu, 19 Apr 2001 11:26:08 +0200 (MEST)


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. 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/