[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <453C6260.7060609@s5r6.in-berlin.de>
Date: Mon, 23 Oct 2006 08:34:08 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Nick Piggin <nickpiggin@...oo.com.au>
CC: Matthew Wilcox <matthew@....cx>, Andi Kleen <ak@...e.de>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Randy Dunlap <rdunlap@...otime.net>,
Al Viro <viro@....linux.org.uk>,
Linus Torvalds <torvalds@...l.org>,
Alexey Dobriyan <adobriyan@...il.com>,
Linux Kernel Development <linux-kernel@...r.kernel.org>,
linux-arch@...r.kernel.org
Subject: Re: dealing with excessive includes
Nick Piggin wrote:
...
> If you have an
>
> #ifndef _LINUX_INTERRUPT_H
> #error ...
>
> That almost explicitly tells you which is the correct file to include to
> get all definitions from this file. Wouldn't that help?
This can even be evaluated by a script that searches for required header
files, except if more than one of such clauses appear in a file.
--
Stefan Richter
-=====-=-==- =-=- =-===
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists