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:
Tomasz Malesinski 2006-02-12 23:26:18 +00:00
parent b60f9af526
commit bf54647132
2 changed files with 6 additions and 4 deletions

View file

@ -28,8 +28,10 @@
#ifdef DEBUG
static char debugmembuf[200];
#if CONFIG_CPU == SH3704
static char debugbuf[400];
#endif
#endif
#ifndef SIMULATOR /* allow non archos platforms to display output */
#include "kernel.h"
@ -222,7 +224,7 @@ static void debug(char *msg)
if (f) (*f)(msg);
}
void debug_init()
void debug_init(void)
{
}

View file

@ -562,8 +562,8 @@ void pcm_set_frequency(unsigned int frequency)
(void)frequency;
}
void pcm_play_data(void (*get_more)(unsigned char** start, long* size),
unsigned char* start, long size)
void pcm_play_data(void (*get_more)(unsigned char** start, size_t* size),
unsigned char* start, size_t size)
{
(void)get_more;
(void)start;
@ -600,7 +600,7 @@ void pcm_calculate_peaks(int *left, int *right)
(void)right;
}
long pcm_get_bytes_waiting(void)
size_t pcm_get_bytes_waiting(void)
{
return 0;
}