From 50a7ff97efa51cbb0c5134bfbbacfea74f327f8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCsch?= Date: Wed, 16 Nov 2011 17:27:36 +0000 Subject: [PATCH] =?UTF-8?q?mconf:=20Fix=20compile=20warning:=20"warning:?= =?UTF-8?q?=20conflicting=20types=20for=20=E2=80=98sym=5Fset=5Fall=5Fchang?= =?UTF-8?q?ed=E2=80=99"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN-Revision: 29190 --- scripts/config/symbol.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/scripts/config/symbol.c b/scripts/config/symbol.c index 1d718da3a9..49bb254558 100644 --- a/scripts/config/symbol.c +++ b/scripts/config/symbol.c @@ -266,6 +266,26 @@ static struct symbol *sym_calc_choice(struct symbol *sym) return NULL; } +void sym_set_changed(struct symbol *sym) +{ + struct property *prop; + + sym->flags |= SYMBOL_CHANGED; + for (prop = sym->prop; prop; prop = prop->next) { + if (prop->menu) + prop->menu->flags |= MENU_CHANGED; + } +} + +void sym_set_all_changed(void) +{ + struct symbol *sym; + int i; + + for_all_symbols(i, sym) + sym_set_changed(sym); +} + void sym_calc_value(struct symbol *sym) { struct symbol_value newval, oldval; @@ -396,26 +416,6 @@ void sym_clear_all_valid(void) sym_calc_value(modules_sym); } -void sym_set_changed(struct symbol *sym) -{ - struct property *prop; - - sym->flags |= SYMBOL_CHANGED; - for (prop = sym->prop; prop; prop = prop->next) { - if (prop->menu) - prop->menu->flags |= MENU_CHANGED; - } -} - -void sym_set_all_changed(void) -{ - struct symbol *sym; - int i; - - for_all_symbols(i, sym) - sym_set_changed(sym); -} - bool sym_tristate_within_range(struct symbol *sym, tristate val) { int type = sym_get_type(sym);