diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /scripts/kconfig/expr.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (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.h | 10 |
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" { | |||
18 | struct file { | 18 | struct 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 | |||
29 | typedef enum tristate { | 25 | typedef 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 | |||
191 | struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); | 188 | struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); |
192 | struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); | 189 | struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); |
193 | struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); | 190 | struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); |
194 | struct expr *expr_copy(struct expr *org); | 191 | struct expr *expr_copy(const struct expr *org); |
195 | void expr_free(struct expr *e); | 192 | void expr_free(struct expr *e); |
196 | int expr_eq(struct expr *e1, struct expr *e2); | 193 | int expr_eq(struct expr *e1, struct expr *e2); |
197 | void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); | 194 | void 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); | |||
206 | struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2); | 203 | struct expr *expr_extract_eq_or(struct expr **ep1, struct expr **ep2); |
207 | void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); | 204 | void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); |
208 | struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); | 205 | struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); |
206 | struct expr *expr_simplify_unmet_dep(struct expr *e1, struct expr *e2); | ||
209 | 207 | ||
210 | void expr_fprint(struct expr *e, FILE *out); | 208 | void expr_fprint(struct expr *e, FILE *out); |
211 | struct gstr; /* forward */ | 209 | struct gstr; /* forward */ |