Another round of making local functions static and making sure that source files are in sync with their header files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e243db65b4
commit
19425909c3
10 changed files with 11 additions and 4 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
/* "helper functions" common to all codecs */
|
||||
|
||||
#include <string.h>
|
||||
#include "codecs.h"
|
||||
#include "dsp.h"
|
||||
#include "codeclib.h"
|
||||
|
|
|
@ -1395,7 +1395,7 @@ MENUITEM_SETTING(set_region, &global_settings.fm_region, NULL);
|
|||
MENUITEM_SETTING(force_mono, &global_settings.fm_force_mono, NULL);
|
||||
|
||||
#ifndef FM_MODE
|
||||
char* get_mode_text(int selected_item, void * data, char *buffer)
|
||||
static char* get_mode_text(int selected_item, void * data, char *buffer)
|
||||
{
|
||||
(void)selected_item;
|
||||
(void)data;
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
#define SET_16BITREG(reg,val) reg = (val)
|
||||
|
||||
void ata_reset(void);
|
||||
void ata_enable(bool on);
|
||||
void ata_device_init(void);
|
||||
bool ata_is_coldstart(void);
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "kernel.h"
|
||||
#include "system.h"
|
||||
#include "power.h"
|
||||
#include "ata-target.h"
|
||||
|
||||
void ata_reset(void)
|
||||
{
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "button.h"
|
||||
#include "backlight.h"
|
||||
#include "adc.h"
|
||||
#include "lcd-remote-target.h"
|
||||
|
||||
static bool hold_button = false;
|
||||
static bool remote_hold_button = false;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#if (CONFIG_TUNER & TEA5767)
|
||||
|
||||
#include "i2c-coldfire.h"
|
||||
#include "fmradio_i2c.h"
|
||||
|
||||
int fmradio_i2c_write(unsigned char address, const unsigned char* buf,
|
||||
int count)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "file.h"
|
||||
#include "lcd.h"
|
||||
#include "scroll_engine.h"
|
||||
#include "lcd-remote-target.h"
|
||||
|
||||
/* The LCD in the iAudio M3/M5/X5 remote control is a Tomato LSI 0350 */
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "system.h"
|
||||
#include "usb.h"
|
||||
#include "usb-target.h"
|
||||
|
||||
void usb_init_device(void)
|
||||
{
|
||||
|
|
|
@ -119,7 +119,7 @@ void pcm_set_frequency(unsigned int frequency)
|
|||
} /* pcm_set_frequency */
|
||||
|
||||
/* apply audio settings */
|
||||
bool _pcm_apply_settings(bool clear_reset)
|
||||
static bool _pcm_apply_settings(bool clear_reset)
|
||||
{
|
||||
bool did_reset = false;
|
||||
unsigned long iis_play_defparm = IIS_PLAY_DEFPARM;
|
||||
|
@ -154,7 +154,7 @@ bool _pcm_apply_settings(bool clear_reset)
|
|||
} /* _pcm_apply_settings */
|
||||
|
||||
/* apply audio setting with all DMA interrupts disabled */
|
||||
void _pcm_apply_settings_irq_lock(bool clear_reset)
|
||||
static void _pcm_apply_settings_irq_lock(bool clear_reset)
|
||||
{
|
||||
int level = set_irq_level(DMA_IRQ_LEVEL);
|
||||
_pcm_apply_settings(clear_reset);
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
#ifndef USB_TARGET_H
|
||||
#define USB_TARGET_H
|
||||
|
||||
bool usb_init_device(void);
|
||||
void usb_init_device(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue