kconfig: fix `zconfdebug' extern declaration
authorArnaud Lacombe <lacombar@gmail.com>
Sun, 5 Dec 2010 06:41:18 +0000 (01:41 -0500)
committerMichal Marek <mmarek@suse.cz>
Wed, 15 Dec 2010 13:42:12 +0000 (14:42 +0100)
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>
scripts/kconfig/lkc.h

index a542c6b..6d38b7c 100644 (file)
@@ -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);