summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-11-11 16:54:15 +0000
committerNils Wallménius <nils@rockbox.org>2009-11-11 16:54:15 +0000
commit35202026cbe6a77adbccbd7f59f7b69dafa2f3b2 (patch)
tree919ba4dfcdad71fb02c40160c2ac3c70d9f0113f /firmware/sound.c
parent0db3308cb56a1589b427f3b712d66480bc4d788f (diff)
downloadrockbox-35202026cbe6a77adbccbd7f59f7b69dafa2f3b2.tar.gz
rockbox-35202026cbe6a77adbccbd7f59f7b69dafa2f3b2.tar.bz2
rockbox-35202026cbe6a77adbccbd7f59f7b69dafa2f3b2.zip
Comstify a function pointer array
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index bd85ad17ce..7c97d9b63c 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -124,7 +124,7 @@ int sound_default(int setting)
return audiohw_settings[setting].defaultval;
}
-static sound_set_type *sound_set_fns[] =
+static sound_set_type * const sound_set_fns[] =
{
[0 ... SOUND_LAST_SETTING-1] = NULL,
[SOUND_VOLUME] = sound_set_volume,
@@ -336,7 +336,7 @@ void sound_set_treble(int value)
#if defined(HAVE_WM8751)
current_treble = value;
#else
- current_treble = value * 10;
+ current_treble = value * 10;
#endif
#endif