More warnings fixes by riccardom (patch 2157019)
This one fix the warnings for SDL related stuff. I also removed an unused function...
This commit is contained in:
parent
1e9e8c405b
commit
2440ea25e7
|
@ -217,7 +217,7 @@ u16 get_set_joy_key(int index) {
|
|||
}
|
||||
|
||||
/* Reset corresponding key and its twin axis key */
|
||||
u16 get_joy_axis_twin(u16 key)
|
||||
static u16 get_joy_axis_twin(u16 key)
|
||||
{
|
||||
switch(key)
|
||||
{
|
||||
|
|
|
@ -55,7 +55,7 @@ static SDL_AudioSpec audiofmt;
|
|||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void MixAudio(void *userdata, Uint8 *stream, int len) {
|
||||
static void MixAudio(void *userdata, Uint8 *stream, int len) {
|
||||
int i;
|
||||
Uint8 *soundbuf=(Uint8 *)stereodata16;
|
||||
|
||||
|
@ -124,13 +124,6 @@ void SNDSDLDeInit()
|
|||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int SNDSDLReset()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void SNDSDLUpdateAudio(s16 *buffer, u32 num_samples)
|
||||
{
|
||||
u32 copy1size=0, copy2size=0;
|
||||
|
|
Loading…
Reference in New Issue