summaryrefslogtreecommitdiff
path: root/scripts/kconfig/confdata.c
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-12-05 09:31:57 +0300
committerMichal Marek <mmarek@suse.cz>2010-12-15 15:38:25 +0300
commit6e71fabe9e60b1c6db587fbeac349848647920ab (patch)
treefb6dacfcb5ccee08c2f2aa35f41c0ccd9bf230be /scripts/kconfig/confdata.c
parenta44a11e9a049b491445bfbd93969d23c49047714 (diff)
downloadlinux-6e71fabe9e60b1c6db587fbeac349848647920ab.tar.xz
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/kconfig/confdata.c')
-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 9df80114b47b..f349bdcffa98 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) {