[PATCH] Warn about config.h inclusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Alexey Dobriyan <[email protected]>
---

 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>
 
 #endif

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux