From d12fef67d982a03c85ee935a78df06209562ddc5 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Mon, 20 Dec 2010 16:06:44 +0100 Subject: [PATCH] --- yaml --- r: 227666 b: refs/heads/master c: 17742dc743716eebbf5892add0e0bf91f541fc39 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/expr.c | 2 +- trunk/scripts/kconfig/expr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index bf818c132638..90843937f573 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1137c56b7420c801147e0863845c03b07554721a +refs/heads/master: 17742dc743716eebbf5892add0e0bf91f541fc39 diff --git a/trunk/scripts/kconfig/expr.c b/trunk/scripts/kconfig/expr.c index 65531a7f28a8..001003452f68 100644 --- a/trunk/scripts/kconfig/expr.c +++ b/trunk/scripts/kconfig/expr.c @@ -64,7 +64,7 @@ struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; } -struct expr *expr_copy(struct expr *org) +struct expr *expr_copy(const struct expr *org) { struct expr *e; diff --git a/trunk/scripts/kconfig/expr.h b/trunk/scripts/kconfig/expr.h index 184eb6a0b505..218991b26d92 100644 --- a/trunk/scripts/kconfig/expr.h +++ b/trunk/scripts/kconfig/expr.h @@ -191,7 +191,7 @@ struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); -struct expr *expr_copy(struct expr *org); +struct expr *expr_copy(const struct expr *org); void expr_free(struct expr *e); int expr_eq(struct expr *e1, struct expr *e2); void expr_eliminate_eq(struct expr **ep1, struct expr **ep2);