[PATCH] Fix (tiny) build problems on solaris (fwd)

This small patch fixes building audio on solaris 2.9 with gcc 4.0
-------------- next part --------------
Index: src/audio/sun/SDL_sunaudio.c===================================================================
RCS /home/sdlweb/libsdl.org/cvs/SDL12/src/audio/sun/SDL_sunaudio.c,v
retrieving revision 1.6
diff -u -p -r1.6 SDL_sunaudio.c
— src/audio/sun/SDL_sunaudio.c 4 Jan 2004 16:49:15 -0000 1.6
+++ src/audio/sun/SDL_sunaudio.c 22 Nov 2005 12:01:42 -0000
@@ -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 */

This small patch fixes building audio on solaris 2.9 with gcc 4.0

This is in CVS, thanks!

–ryan.