]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Fix parse_kconfig symlist_el variables type
authorKarel Kočí <cynerd@email.cz>
Fri, 1 May 2015 19:53:01 +0000 (21:53 +0200)
committerKarel Kočí <cynerd@email.cz>
Fri, 1 May 2015 19:53:01 +0000 (21:53 +0200)
scripts/parse_kconfig/symlist.c
scripts/parse_kconfig/symlist.h

index 99532fb5ebc489f7c7d8c38ca6ff00c9951e79b0..62cdd6c812818b20a488db94989beb1ee3db0602 100644 (file)
@@ -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);
index 85f473e7942dd70d40af79d7be99755b03cfaba2..234f7763099302efa08d5f6ff799cb2962bb6950 100644 (file)
 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 {