summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-12-05 01:31:57 -0500
committerMichal Marek <mmarek@suse.cz>2010-12-15 13:38:25 +0100
commit6e71fabe9e60b1c6db587fbeac349848647920ab (patch)
treefb6dacfcb5ccee08c2f2aa35f41c0ccd9bf230be /scripts
parenta44a11e9a049b491445bfbd93969d23c49047714 (diff)
downloadlinux-3.10-6e71fabe9e60b1c6db587fbeac349848647920ab.tar.gz
linux-3.10-6e71fabe9e60b1c6db587fbeac349848647920ab.tar.bz2
linux-3.10-6e71fabe9e60b1c6db587fbeac349848647920ab.zip
kconfig: do not define AUTOCONF_INCLUDED
AUTOCONF_INCLUDED is not checked is not used within the tree and its parent header, `autoconf.h', is safe to be re-included. Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/confdata.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index 9df80114b47..f349bdcffa9 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -833,8 +833,7 @@ int conf_write_autoconf(void)
" * Automatically generated C config: don't edit\n"
" * %s\n"
" * %s"
- " */\n"
- "#define AUTOCONF_INCLUDED\n",
+ " */\n",
rootmenu.prompt->text, ctime(&now));
for_all_symbols(i, sym) {