diff --git a/src/audio/sun/SDL_sunaudio.c b/src/audio/sun/SDL_sunaudio.c index 488d4c2f6..c9857ffe6 100644 --- a/src/audio/sun/SDL_sunaudio.c +++ b/src/audio/sun/SDL_sunaudio.c @@ -165,9 +165,9 @@ void DSP_WaitAudio(_THIS) #endif } +static Uint8 snd2au(int sample); void DSP_PlayAudio(_THIS) { - static Uint8 snd2au(int sample); /* Write the audio data */ if ( ulaw_only ) { /* Assuming that this->spec.freq >= 8000 Hz */