diff options
author | Trevor Keith <tsrk@tsrk.net> | 2009-09-18 12:49:23 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-09-20 12:27:44 +0200 |
commit | 4356f4890792a678936c93c9196e8f7742e04535 (patch) | |
tree | 6c64cbb77de98dfc45e4330632e6f8b27f50ef04 /scripts/kconfig/expr.c | |
parent | 66a570623be0d96130470a41cd38bce889b7e885 (diff) |
kbuild: add static to prototypes
Warnings found via gcc -Wmissing-prototypes.
Signed-off-by: Trevor Keith <tsrk@tsrk.net>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kconfig/expr.c')
-rw-r--r-- | scripts/kconfig/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c index cd8a2f00a97..edd3f39a080 100644 --- a/scripts/kconfig/expr.c +++ b/scripts/kconfig/expr.c @@ -348,7 +348,7 @@ struct expr *expr_trans_bool(struct expr *e) /* * e1 || e2 -> ? */ -struct expr *expr_join_or(struct expr *e1, struct expr *e2) +static struct expr *expr_join_or(struct expr *e1, struct expr *e2) { struct expr *tmp; struct symbol *sym1, *sym2; @@ -412,7 +412,7 @@ struct expr *expr_join_or(struct expr *e1, struct expr *e2) return NULL; } -struct expr *expr_join_and(struct expr *e1, struct expr *e2) +static struct expr *expr_join_and(struct expr *e1, struct expr *e2) { struct expr *tmp; struct symbol *sym1, *sym2; |