diff options
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r-- | apps/sound_menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 52a6c3b34c..e0716a5e86 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c | |||
@@ -61,8 +61,8 @@ | |||
61 | #endif | 61 | #endif |
62 | #include "action.h" | 62 | #include "action.h" |
63 | 63 | ||
64 | int selected_setting; /* Used by the callback */ | 64 | static int selected_setting; /* Used by the callback */ |
65 | void dec_sound_formatter(char *buffer, int buffer_size, int val, const char * unit) | 65 | static void dec_sound_formatter(char *buffer, int buffer_size, int val, const char *unit) |
66 | { | 66 | { |
67 | val = sound_val2phys(selected_setting, val); | 67 | val = sound_val2phys(selected_setting, val); |
68 | char sign = ' '; | 68 | char sign = ' '; |
@@ -351,10 +351,10 @@ static bool receditable(void) | |||
351 | 351 | ||
352 | #if CONFIG_CODEC == SWCODEC | 352 | #if CONFIG_CODEC == SWCODEC |
353 | /* Makes an options list from a source list of options and indexes */ | 353 | /* Makes an options list from a source list of options and indexes */ |
354 | void make_options_from_indexes(const struct opt_items *src_names, | 354 | static void make_options_from_indexes(const struct opt_items *src_names, |
355 | const long *src_indexes, | 355 | const long *src_indexes, |
356 | int n_indexes, | 356 | int n_indexes, |
357 | struct opt_items *dst_names) | 357 | struct opt_items *dst_names) |
358 | { | 358 | { |
359 | while (--n_indexes >= 0) | 359 | while (--n_indexes >= 0) |
360 | dst_names[n_indexes] = src_names[src_indexes[n_indexes]]; | 360 | dst_names[n_indexes] = src_names[src_indexes[n_indexes]]; |