aboutsummaryrefslogtreecommitdiff
path: root/programs/src/kconfig_parser/cnfexpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'programs/src/kconfig_parser/cnfexpr.c')
-rw-r--r--programs/src/kconfig_parser/cnfexpr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/programs/src/kconfig_parser/cnfexpr.c b/programs/src/kconfig_parser/cnfexpr.c
index 50f0929..3e1dcd6 100644
--- a/programs/src/kconfig_parser/cnfexpr.c
+++ b/programs/src/kconfig_parser/cnfexpr.c
@@ -7,7 +7,7 @@ struct cnfexpr *cnf_or(struct cnfexpr *e1, struct cnfexpr *e2);
struct cnfexpr *cnf_and(struct cnfexpr *e1, struct cnfexpr *e2);
void free_cnf(struct cnfexpr *e);
-struct cnfexpr *kconfig_cnfexpr(struct symlist *sl, struct expr *expr) {
+struct cnfexpr *kconfig_cnfexpr(struct symlist *sl, bool nt, struct expr *expr) {
struct stck {
struct expr *expr;
struct cnfexpr *cnf;
@@ -19,7 +19,6 @@ struct cnfexpr *kconfig_cnfexpr(struct symlist *sl, struct expr *expr) {
int stack_size = 2, stack_pos = -1;
stack = malloc((unsigned) stack_size * sizeof(struct stck));
struct cnfexpr *rtrn = NULL;
- bool nt = false;
while (expr != NULL) {
if ((back_pos >= 0 && back[back_pos] != expr) || back_pos < 0) {