From: Arnaud Lacombe Date: Sun, 5 Dec 2010 06:41:18 +0000 (-0500) Subject: kconfig: fix `zconfdebug' extern declaration X-Git-Tag: tegra-14.ER1-android-2.3~2615^2~5 X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff_plain;h=4ce2c1e8e899831dd152bd0d534a60da6fb1582a kconfig: fix `zconfdebug' extern declaration This symbol is only exist if YYDEBUG is defined. Signed-off-by: Arnaud Lacombe Signed-off-by: Michal Marek --- diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index a542c6b..6d38b7c 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -68,10 +68,12 @@ struct kconf_id { enum symbol_type stype; }; +#ifdef YYDEBUG +extern int zconfdebug; +#endif + int zconfparse(void); void zconfdump(FILE *out); - -extern int zconfdebug; void zconf_starthelp(void); FILE *zconf_fopen(const char *name); void zconf_initscan(const char *name);