summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r--apps/sound_menu.c12
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
64int selected_setting; /* Used by the callback */ 64static int selected_setting; /* Used by the callback */
65void dec_sound_formatter(char *buffer, int buffer_size, int val, const char * unit) 65static 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 */
354void make_options_from_indexes(const struct opt_items *src_names, 354static 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]];