mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Remove some unused declarations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21010 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0e725551af
commit
2dc2054319
17 changed files with 3 additions and 20 deletions
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include "system.h"
|
||||
#include "ata.h"
|
||||
#include "ata-target.h"
|
||||
|
||||
void ata_reset()
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
#include "system.h"
|
||||
#include "ata.h"
|
||||
#include "ata-target.h"
|
||||
|
||||
void ata_reset()
|
||||
|
|
|
|||
|
|
@ -79,6 +79,5 @@ void copy_write_sectors(const unsigned char* buf, int wordcount);
|
|||
#endif
|
||||
|
||||
void ata_reset(void);
|
||||
void ata_enable(bool on);
|
||||
bool ata_is_coldstart(void);
|
||||
void ata_device_init(void);
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
#include "thread.h"
|
||||
#include "logf.h"
|
||||
#include "system.h"
|
||||
#include "i2c.h"
|
||||
#include "i2c-pp.h"
|
||||
#include "ascodec.h"
|
||||
#include "as3514.h"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ void button_close_device(void);
|
|||
int button_read_device(void);
|
||||
void button_power_event(void);
|
||||
void headphone_detect_event(void);
|
||||
bool headphones_inserted(void);
|
||||
void headphone_init(void);
|
||||
void button_headphone_set(int button);
|
||||
|
||||
|
|
|
|||
|
|
@ -27,9 +27,7 @@
|
|||
|
||||
void usb_connect_event(void);
|
||||
void usb_init_device(void);
|
||||
int usb_detect(void);
|
||||
/* Read the immediate state of the cable from the PMIC */
|
||||
bool usb_plugged(void);
|
||||
void usb_enable(bool on);
|
||||
|
||||
#endif /* USB_TARGET */
|
||||
|
|
|
|||
|
|
@ -22,6 +22,5 @@
|
|||
#define USB_TARGET_H
|
||||
|
||||
void usb_init_device(void);
|
||||
void usb_enable(bool on);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
extern void TIMER1(void);
|
||||
extern void TIMER2(void);
|
||||
extern void SERIAL0(void);
|
||||
extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */
|
||||
extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */
|
||||
|
||||
#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && (NUM_CORES > 1)
|
||||
static struct corelock cpufreq_cl SHAREDBSS_ATTR;
|
||||
|
|
|
|||
|
|
@ -48,10 +48,6 @@
|
|||
#define inw(a) (*(volatile unsigned short *) (a))
|
||||
#define outw(a,b) (*(volatile unsigned short *) (b) = (a))
|
||||
|
||||
#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && NUM_CORES > 1
|
||||
extern struct spinlock boostctrl_spin;
|
||||
#endif
|
||||
|
||||
static inline void udelay(unsigned usecs)
|
||||
{
|
||||
unsigned stop = USEC_TIMER + usecs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue