Re: RFC: cleaning up the in-kernel headers

Sam Ravnborg
2006-07-11T19:34:35Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 721 bytes --]

On Tue, Jul 11, 2006 at 06:33:01PM +0100, Christoph Hellwig wrote:
> On Tue, Jul 11, 2006 at 05:28:43PM +0100, David Woodhouse wrote:
> > It would be nice in the general case if we could actually _compile_ each
> > header file, standalone. There may be some cases where that doesn't
> > work, but it's a useful goal in most cases, for bother exported headers
> > _and_ the in-kernel version. For the former case it would be nice to add
> > it to 'make headers_check' once it's realistic to do so.
>
> That would be extremly valueable. Maybe one of the kbuild gurus could
> cook up a make checkheaders rule that does this?
JÃrn Engel IIRC created a perl scrip that did this a year or two ago.
Try googling a bit.

Sam