diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-07 15:09:55 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:14:38 -0500 |
commit | d6ee35764f270c699e165b15dc59f4e55546bfda (patch) | |
tree | 021bd7249f0aeaa8280c83c938bd5755ecc9c65a /scripts/kconfig/expr.c | |
parent | d84876f9f8042d5536050b83674c4f348ca3c4df (diff) |
kconfig: rename E_OR & friends to avoid name clash
We had macros named the same as a set of enumeration values.
It is legal code but very confusing to read - so rename
the macros from E_* to EXPR_*
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig/expr.c')
-rw-r--r-- | scripts/kconfig/expr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c index 6f98dbfe70cf..c8793d1d908f 100644 --- a/scripts/kconfig/expr.c +++ b/scripts/kconfig/expr.c | |||
@@ -955,14 +955,14 @@ tristate expr_calc_value(struct expr *e) | |||
955 | case E_AND: | 955 | case E_AND: |
956 | val1 = expr_calc_value(e->left.expr); | 956 | val1 = expr_calc_value(e->left.expr); |
957 | val2 = expr_calc_value(e->right.expr); | 957 | val2 = expr_calc_value(e->right.expr); |
958 | return E_AND(val1, val2); | 958 | return EXPR_AND(val1, val2); |
959 | case E_OR: | 959 | case E_OR: |
960 | val1 = expr_calc_value(e->left.expr); | 960 | val1 = expr_calc_value(e->left.expr); |
961 | val2 = expr_calc_value(e->right.expr); | 961 | val2 = expr_calc_value(e->right.expr); |
962 | return E_OR(val1, val2); | 962 | return EXPR_OR(val1, val2); |
963 | case E_NOT: | 963 | case E_NOT: |
964 | val1 = expr_calc_value(e->left.expr); | 964 | val1 = expr_calc_value(e->left.expr); |
965 | return E_NOT(val1); | 965 | return EXPR_NOT(val1); |
966 | case E_EQUAL: | 966 | case E_EQUAL: |
967 | sym_calc_value(e->left.sym); | 967 | sym_calc_value(e->left.sym); |
968 | sym_calc_value(e->right.sym); | 968 | sym_calc_value(e->right.sym); |