forked from len0rd/rockbox
Fixed warnings in the iFP target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8671 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b60f9af526
commit
bf54647132
2 changed files with 6 additions and 4 deletions
|
@ -28,8 +28,10 @@
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
static char debugmembuf[200];
|
static char debugmembuf[200];
|
||||||
|
#if CONFIG_CPU == SH3704
|
||||||
static char debugbuf[400];
|
static char debugbuf[400];
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SIMULATOR /* allow non archos platforms to display output */
|
#ifndef SIMULATOR /* allow non archos platforms to display output */
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
|
@ -222,7 +224,7 @@ static void debug(char *msg)
|
||||||
if (f) (*f)(msg);
|
if (f) (*f)(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void debug_init()
|
void debug_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -562,8 +562,8 @@ void pcm_set_frequency(unsigned int frequency)
|
||||||
(void)frequency;
|
(void)frequency;
|
||||||
}
|
}
|
||||||
|
|
||||||
void pcm_play_data(void (*get_more)(unsigned char** start, long* size),
|
void pcm_play_data(void (*get_more)(unsigned char** start, size_t* size),
|
||||||
unsigned char* start, long size)
|
unsigned char* start, size_t size)
|
||||||
{
|
{
|
||||||
(void)get_more;
|
(void)get_more;
|
||||||
(void)start;
|
(void)start;
|
||||||
|
@ -600,7 +600,7 @@ void pcm_calculate_peaks(int *left, int *right)
|
||||||
(void)right;
|
(void)right;
|
||||||
}
|
}
|
||||||
|
|
||||||
long pcm_get_bytes_waiting(void)
|
size_t pcm_get_bytes_waiting(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue