diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-12-05 01:41:18 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-15 08:42:12 -0500 |
commit | 4ce2c1e8e899831dd152bd0d534a60da6fb1582a (patch) | |
tree | 6b26697b01ea7615b79f6b266ea66599840a8eea /scripts | |
parent | bf128f5265625b8015789ea8f12b3582dc29faa3 (diff) |
kconfig: fix `zconfdebug' extern declaration
This symbol is only exist if YYDEBUG is defined.
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/lkc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index a542c6ba84b3..6d38b7c9c824 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -68,10 +68,12 @@ struct kconf_id { | |||
68 | enum symbol_type stype; | 68 | enum symbol_type stype; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | #ifdef YYDEBUG | ||
72 | extern int zconfdebug; | ||
73 | #endif | ||
74 | |||
71 | int zconfparse(void); | 75 | int zconfparse(void); |
72 | void zconfdump(FILE *out); | 76 | void zconfdump(FILE *out); |
73 | |||
74 | extern int zconfdebug; | ||
75 | void zconf_starthelp(void); | 77 | void zconf_starthelp(void); |
76 | FILE *zconf_fopen(const char *name); | 78 | FILE *zconf_fopen(const char *name); |
77 | void zconf_initscan(const char *name); | 79 | void zconf_initscan(const char *name); |