[PATCH] Warn about config.h inclusion

From: Alexey Dobriyan
Date: Wed Aug 23 2006 - 19:16:29 EST

Otherwise feature adders won't feel it's unneeded..

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

include/linux/config.h | 1 +
1 file changed, 1 insertion(+)

--- a/include/linux/config.h
+++ b/include/linux/config.h
@@ -3,6 +3,7 @@ #define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* autoconf.h is now included via -imacros on the commandline
+#warning Don't include me. I'm already in via -imacros. I'll dissappear. You have been warned.
#include <linux/autoconf.h>


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