[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>
Showing
- scripts/kconfig/confdata.c 16 additions, 4 deletionsscripts/kconfig/confdata.c
- scripts/kconfig/lkc.h 2 additions, 0 deletionsscripts/kconfig/lkc.h
- scripts/kconfig/lkc_proto.h 0 additions, 1 deletionscripts/kconfig/lkc_proto.h
- scripts/kconfig/symbol.c 1 addition, 2 deletionsscripts/kconfig/symbol.c
- scripts/kconfig/zconf.tab.c_shipped 1 addition, 1 deletionscripts/kconfig/zconf.tab.c_shipped
- scripts/kconfig/zconf.y 1 addition, 1 deletionscripts/kconfig/zconf.y
Loading
Please register or sign in to comment