From 35202026cbe6a77adbccbd7f59f7b69dafa2f3b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Wed, 11 Nov 2009 16:54:15 +0000 Subject: Comstify a function pointer array git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23609 a1c6a512-1295-4272-9138-f99709370657 --- firmware/sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/sound.c') 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 -- cgit v1.2.3