diff options
author | Trevor Keith <tsrk@tsrk.net> | 2009-09-18 15:49:23 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-09-20 06:27:44 -0400 |
commit | 4356f4890792a678936c93c9196e8f7742e04535 (patch) | |
tree | 6c64cbb77de98dfc45e4330632e6f8b27f50ef04 /scripts/kconfig/menu.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/menu.c')
-rw-r--r-- | scripts/kconfig/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index b74f74687005..059a2465c574 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -77,7 +77,7 @@ void menu_end_menu(void) | |||
77 | current_menu = current_menu->parent; | 77 | current_menu = current_menu->parent; |
78 | } | 78 | } |
79 | 79 | ||
80 | struct expr *menu_check_dep(struct expr *e) | 80 | static struct expr *menu_check_dep(struct expr *e) |
81 | { | 81 | { |
82 | if (!e) | 82 | if (!e) |
83 | return e; | 83 | return e; |
@@ -187,7 +187,7 @@ static int menu_range_valid_sym(struct symbol *sym, struct symbol *sym2) | |||
187 | (sym2->type == S_UNKNOWN && sym_string_valid(sym, sym2->name)); | 187 | (sym2->type == S_UNKNOWN && sym_string_valid(sym, sym2->name)); |
188 | } | 188 | } |
189 | 189 | ||
190 | void sym_check_prop(struct symbol *sym) | 190 | static void sym_check_prop(struct symbol *sym) |
191 | { | 191 | { |
192 | struct property *prop; | 192 | struct property *prop; |
193 | struct symbol *sym2; | 193 | struct symbol *sym2; |