summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-12-25 14:01:47 +0000
committerJens Arnold <amiconn@rockbox.org>2006-12-25 14:01:47 +0000
commit2597a1349772fe505d27cb94392eb4d8a3c3b35d (patch)
tree185a4809430f9dded488bb1b058d3f97345058a3 /apps/sound_menu.c
parent37aeb12cc99cc22f62c44d5b0adcae35d0c471d8 (diff)
downloadrockbox-2597a1349772fe505d27cb94392eb4d8a3c3b35d.tar.gz
rockbox-2597a1349772fe505d27cb94392eb4d8a3c3b35d.zip
Next round of static'ing and related fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11836 a1c6a512-1295-4272-9138-f99709370657
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]];