lkml.org 
[lkml]   [2006]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-23 08:37    [W:0.064 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site