diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-12-25 14:01:47 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-12-25 14:01:47 +0000 |
| commit | 2597a1349772fe505d27cb94392eb4d8a3c3b35d (patch) | |
| tree | 185a4809430f9dded488bb1b058d3f97345058a3 /apps/sound_menu.c | |
| parent | 37aeb12cc99cc22f62c44d5b0adcae35d0c471d8 (diff) | |
| download | rockbox-2597a1349772fe505d27cb94392eb4d8a3c3b35d.zip rockbox-2597a1349772fe505d27cb94392eb4d8a3c3b35d.tar.gz rockbox-2597a1349772fe505d27cb94392eb4d8a3c3b35d.tar.bz2 rockbox-2597a1349772fe505d27cb94392eb4d8a3c3b35d.tar.xz | |
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.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 52a6c3b..e0716a5 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -61,8 +61,8 @@ #endif #include "action.h" -int selected_setting; /* Used by the callback */ -void dec_sound_formatter(char *buffer, int buffer_size, int val, const char * unit) +static int selected_setting; /* Used by the callback */ +static void dec_sound_formatter(char *buffer, int buffer_size, int val, const char *unit) { val = sound_val2phys(selected_setting, val); char sign = ' '; @@ -351,10 +351,10 @@ static bool receditable(void) #if CONFIG_CODEC == SWCODEC /* Makes an options list from a source list of options and indexes */ -void make_options_from_indexes(const struct opt_items *src_names, - const long *src_indexes, - int n_indexes, - struct opt_items *dst_names) +static void make_options_from_indexes(const struct opt_items *src_names, + const long *src_indexes, + int n_indexes, + struct opt_items *dst_names) { while (--n_indexes >= 0) dst_names[n_indexes] = src_names[src_indexes[n_indexes]]; |