aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-01 21:53:01 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-01 21:53:01 +0200
commit2c088ff7ae2a6fc20a79f11df61b0099715cb1b8 (patch)
tree67de5b840b250339d600f4382b229bb08888d7ae
parentad499b111339a813cfcce4f717c38513f0e05ab7 (diff)
downloadlinux-conf-perf-2c088ff7ae2a6fc20a79f11df61b0099715cb1b8.tar.gz
linux-conf-perf-2c088ff7ae2a6fc20a79f11df61b0099715cb1b8.tar.bz2
linux-conf-perf-2c088ff7ae2a6fc20a79f11df61b0099715cb1b8.zip
Fix parse_kconfig symlist_el variables type
-rw-r--r--scripts/parse_kconfig/symlist.c1
-rw-r--r--scripts/parse_kconfig/symlist.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/scripts/parse_kconfig/symlist.c b/scripts/parse_kconfig/symlist.c
index 99532fb..62cdd6c 100644
--- a/scripts/parse_kconfig/symlist.c
+++ b/scripts/parse_kconfig/symlist.c
@@ -19,7 +19,6 @@ void symlist_add(struct symlist *sl, char *name) {
sl->array[sl->pos].name = name;
sl->array[sl->pos].prompt = false;
sl->array[sl->pos].def = NULL;
- sl->array[sl->pos].def_size = 0;
sl->array[sl->pos].dep = NULL;
sl->array[sl->pos].rev_dep = NULL;
output_push_symbol((unsigned) sl->pos + 1, name);
diff --git a/scripts/parse_kconfig/symlist.h b/scripts/parse_kconfig/symlist.h
index 85f473e..234f776 100644
--- a/scripts/parse_kconfig/symlist.h
+++ b/scripts/parse_kconfig/symlist.h
@@ -13,10 +13,8 @@
struct symlist_el {
char *name;
bool prompt;
- struct cnfexpr *def;
- size_t def_size;
- struct cnfexpr *dep, *rev_dep;
+ struct boolexpr *def, *dep, *rev_dep;
};
struct symlist {