Commit 4ce2c1e8e899831dd152bd0d534a60da6fb1582a

Authored by Arnaud Lacombe
Committed by Michal Marek
1 parent bf128f5265

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>

Showing 1 changed file with 4 additions and 2 deletions Side-by-side Diff

scripts/kconfig/lkc.h
... ... @@ -68,10 +68,12 @@
68 68 enum symbol_type stype;
69 69 };
70 70  
  71 +#ifdef YYDEBUG
  72 +extern int zconfdebug;
  73 +#endif
  74 +
71 75 int zconfparse(void);
72 76 void zconfdump(FILE *out);
73   -
74   -extern int zconfdebug;
75 77 void zconf_starthelp(void);
76 78 FILE *zconf_fopen(const char *name);
77 79 void zconf_initscan(const char *name);