1
0
Fork 0
forked from len0rd/rockbox

More static / header file cleanup.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17341 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-05-03 23:18:56 +00:00
parent a969e85e17
commit 6a0340fc21
6 changed files with 7 additions and 7 deletions

View file

@ -329,7 +329,7 @@ static void draw_screen(struct screen *display, char *title,
} }
#ifdef HAVE_TOUCHPAD #ifdef HAVE_TOUCHPAD
int touchpad_slider(struct rgb_pick *rgb, int *selected_slider) static int touchpad_slider(struct rgb_pick *rgb, int *selected_slider)
{ {
short x,y; short x,y;
int text_top,i,x1; int text_top,i,x1;

View file

@ -276,6 +276,7 @@ void audiohw_set_sample_rate(int sampling_control)
wmcodec_write(SRATECTRL, (0 << 1)); wmcodec_write(SRATECTRL, (0 << 1));
} }
#ifdef HAVE_RECORDING
void audiohw_enable_recording(bool source_mic) void audiohw_enable_recording(bool source_mic)
{ {
(void)source_mic; /* We only have a line-in (I think) */ (void)source_mic; /* We only have a line-in (I think) */
@ -345,3 +346,4 @@ void audiohw_set_monitor(bool enable) {
(void)enable; (void)enable;
} }
#endif /* HAVE_RECORDING */

View file

@ -39,7 +39,7 @@ void sound_set_bass(int value);
void sound_set_treble(int value); void sound_set_treble(int value);
void sound_set_channels(int value); void sound_set_channels(int value);
void sound_set_stereo_width(int value); void sound_set_stereo_width(int value);
#ifdef HAVE_WM8758 #if defined(HAVE_WM8758) || defined(HAVE_WM8985)
void sound_set_bass_cutoff(int value); void sound_set_bass_cutoff(int value);
void sound_set_treble_cutoff(int value); void sound_set_treble_cutoff(int value);
#endif #endif

View file

@ -689,7 +689,7 @@ static void nand_test(void)
/* API Functions */ /* API Functions */
void ata_led(bool onoff) static void ata_led(bool onoff)
{ {
led(onoff); led(onoff);
} }

View file

@ -18,10 +18,7 @@
****************************************************************************/ ****************************************************************************/
#include "config.h" #include "config.h"
#include "cpu.h" #include <stdbool.h>
#include "system.h"
#include "kernel.h"
#include "ata.h"
/* USB detect is currently unknown */ /* USB detect is currently unknown */
inline bool usb_detect(void) inline bool usb_detect(void)

View file

@ -27,6 +27,7 @@
#include "system.h" #include "system.h"
#include "audiohw.h" #include "audiohw.h"
#include "i2c.h" #include "i2c.h"
#include "wmcodec.h"
#if defined(COWON_D2) #if defined(COWON_D2)
/* The D2's audio codec uses an I2C address of 0x34 */ /* The D2's audio codec uses an I2C address of 0x34 */