diff options
author | Karsten Wiese <annabellesgarden@yahoo.de> | 2006-12-13 03:34:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 12:05:48 -0500 |
commit | bfc10001b11e51b59ac901d17c5f05361bd2351d (patch) | |
tree | eee8c1ed8f7ec7389656ee5bedd087b3ccee2b9a /scripts/kconfig/lkc_proto.h | |
parent | b321429325e4c911c379a5bf4156c9fc9713e425 (diff) |
[PATCH] kconfig: make sym_change_count static, let it be altered by 2 functions only
Those two functions are
void sym_set_change_count(int count)
and
void sym_add_change_count(int count)
All write accesses to sym_change_count are replaced by calls to above
functions.
Variable and changer-functions are moved to confdata.c. IMO thats ok, as
sym_change_count is an attribute of the .config's change state.
Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/kconfig/lkc_proto.h')
-rw-r--r-- | scripts/kconfig/lkc_proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc_proto.h b/scripts/kconfig/lkc_proto.h index 9f1823c88b73..84bb139789a0 100644 --- a/scripts/kconfig/lkc_proto.h +++ b/scripts/kconfig/lkc_proto.h | |||
@@ -17,7 +17,6 @@ P(menu_get_parent_menu,struct menu *,(struct menu *menu)); | |||
17 | 17 | ||
18 | /* symbol.c */ | 18 | /* symbol.c */ |
19 | P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]); | 19 | P(symbol_hash,struct symbol *,[SYMBOL_HASHSIZE]); |
20 | P(sym_change_count,int,); | ||
21 | 20 | ||
22 | P(sym_lookup,struct symbol *,(const char *name, int isconst)); | 21 | P(sym_lookup,struct symbol *,(const char *name, int isconst)); |
23 | P(sym_find,struct symbol *,(const char *name)); | 22 | P(sym_find,struct symbol *,(const char *name)); |