aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/nconf.gui.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-01-07 07:59:57 -0500
committerMichal Marek <mmarek@suse.cz>2010-02-02 08:33:55 -0500
commit851190c9304154b7d65596801415229c05994e91 (patch)
tree51bec33c76ca12dfaedcb45368f50f37d2a0e14f /scripts/kconfig/nconf.gui.c
parent692d97c380c6dce2c35a04c5dcbce4e831a42fa0 (diff)
nconfig: mark local functions as such
scripts/kconfig/nconf.gui.c:23: warning: no previous prototype for 'set_normal_colors' scripts/kconfig/nconf.gui.c:68: warning: no previous prototype for 'normal_color_theme' scripts/kconfig/nconf.gui.c:100: warning: no previous prototype for 'no_colors_theme' scripts/kconfig/nconf.c:455: warning: no previous prototype for 'process_special_keys' scripts/kconfig/nconf.c:487: warning: no previous prototype for 'get_next_hot' scripts/kconfig/nconf.c:506: warning: no previous prototype for 'canbhot' scripts/kconfig/nconf.c:514: warning: no previous prototype for 'is_hot' scripts/kconfig/nconf.c:522: warning: no previous prototype for 'make_hot' scripts/kconfig/nconf.c:582: warning: no previous prototype for 'item_make' scripts/kconfig/nconf.c:626: warning: no previous prototype for 'item_add_str' scripts/kconfig/nconf.c:656: warning: no previous prototype for 'item_tag' scripts/kconfig/nconf.c:668: warning: no previous prototype for 'curses_item_index' scripts/kconfig/nconf.c:673: warning: no previous prototype for 'item_data' scripts/kconfig/nconf.c:684: warning: no previous prototype for 'item_is_tag' scripts/kconfig/nconf.c:691: warning: no previous prototype for 'set_config_filename' Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.gui.c')
-rw-r--r--scripts/kconfig/nconf.gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/nconf.gui.c b/scripts/kconfig/nconf.gui.c
index 879ade6dd60..115edb437fb 100644
--- a/scripts/kconfig/nconf.gui.c
+++ b/scripts/kconfig/nconf.gui.c
@@ -20,7 +20,7 @@ attributes_t attributes[ATTR_MAX+1] = {0};
20 COLOR_CYAN 6 20 COLOR_CYAN 6
21 COLOR_WHITE 7 21 COLOR_WHITE 7
22 */ 22 */
23void set_normal_colors(void) 23static void set_normal_colors(void)
24{ 24{
25 init_pair(NORMAL, -1, -1); 25 init_pair(NORMAL, -1, -1);
26 init_pair(MAIN_HEADING, COLOR_MAGENTA, -1); 26 init_pair(MAIN_HEADING, COLOR_MAGENTA, -1);
@@ -65,7 +65,7 @@ void set_normal_colors(void)
65 A_CHARTEXT Bit-mask to extract a character 65 A_CHARTEXT Bit-mask to extract a character
66 COLOR_PAIR(n) Color-pair number n 66 COLOR_PAIR(n) Color-pair number n
67 */ 67 */
68void normal_color_theme(void) 68static void normal_color_theme(void)
69{ 69{
70 /* automatically add color... */ 70 /* automatically add color... */
71#define mkattr(name, attr) do { \ 71#define mkattr(name, attr) do { \
@@ -97,7 +97,7 @@ attributes[name] = attr | COLOR_PAIR(name); } while (0)
97 mkattr(FUNCTION_TEXT, A_REVERSE); 97 mkattr(FUNCTION_TEXT, A_REVERSE);
98} 98}
99 99
100void no_colors_theme(void) 100static void no_colors_theme(void)
101{ 101{
102 /* automatically add highlight, no color */ 102 /* automatically add highlight, no color */
103#define mkattrn(name, attr) { attributes[name] = attr; } 103#define mkattrn(name, attr) { attributes[name] = attr; }