Skip to content

Commit

Permalink
kconfig: fix `zconfdebug' extern declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnaud Lacombe authored and Michal Marek committed Dec 15, 2010
1 parent bf128f5 commit 4ce2c1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/kconfig/lkc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ce2c1e

Please sign in to comment.