aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /scripts/kconfig/expr.h
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r--scripts/kconfig/expr.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 170459c224a1..16bfae2d3217 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -18,14 +18,10 @@ extern "C" {
18struct file { 18struct file {
19 struct file *next; 19 struct file *next;
20 struct file *parent; 20 struct file *parent;
21 char *name; 21 const char *name;
22 int lineno; 22 int lineno;
23 int flags;
24}; 23};
25 24
26#define FILE_BUSY 0x0001
27#define FILE_SCANNED 0x0002
28
29typedef enum tristate { 25typedef enum tristate {
30 no, mod, yes 26 no, mod, yes
31} tristate; 27} tristate;
@@ -164,6 +160,7 @@ struct menu {
164 struct menu *list; 160 struct menu *list;
165 struct symbol *sym; 161 struct symbol *sym;
166 struct property *prompt; 162 struct property *prompt;
163 struct expr *visibility;
167 struct expr *dep; 164 struct expr *dep;
168 unsigned int flags; 165 unsigned int flags;
169 char *help; 166 char *help;
@@ -191,7 +188,7 @@ struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e
191struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 188struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2);
192struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); 189struct expr *expr_alloc_and(struct expr *e1, struct expr *e2);
193struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); 190struct expr *expr_alloc_or(struct expr *e1, struct expr *e2);
194struct expr *expr_copy(struct expr *org); 191struct expr *expr_copy(const struct expr *org);
195void expr_free(struct expr *e); 192void expr_free(struct expr *e);
196int expr_eq(struct expr *e1, struct expr *e2); 193int expr_eq(struct expr *e1, struct expr *e2);
197void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); 194void expr_eliminate_eq(struct expr **ep1, struct expr **ep2);
@@ -206,6 +203,7 @@ struct expr *expr_extract_eq_and(struct expr **ep1, struct expr **ep2);
206struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2); 203struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2);
207void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); 204void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2);
208struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); 205struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym);
206struct expr *expr_simplify_unmet_dep(struct expr *e1, struct expr *e2);
209 207
210void expr_fprint(struct expr *e, FILE *out); 208void expr_fprint(struct expr *e, FILE *out);
211struct gstr; /* forward */ 209struct gstr; /* forward */