From 2c088ff7ae2a6fc20a79f11df61b0099715cb1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 1 May 2015 21:53:01 +0200 Subject: Fix parse_kconfig symlist_el variables type --- scripts/parse_kconfig/symlist.c | 1 - scripts/parse_kconfig/symlist.h | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/parse_kconfig') 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 { -- cgit v1.2.3