# HG changeset patch # User Ryan C. Gordon # Date 1132672061 0 # Node ID a9542c38dcdb0dbc2e9f254ff24e54825ffa8b1a # Parent 634d85aefc8c16b67e48cbdbceaa2f8219418287 Date: Tue, 22 Nov 2005 14:11:06 +0100 (MET) From: Mattias Karlsson To: sdl@libsdl.org Subject: [SDL] [PATCH] Fix (tiny) build problems on solaris (fwd) This small patch fixes building audio on solaris 2.9 with gcc 4.0 diff -r 634d85aefc8c -r a9542c38dcdb src/audio/sun/SDL_sunaudio.c --- a/src/audio/sun/SDL_sunaudio.c Tue Nov 22 09:59:42 2005 +0000 +++ b/src/audio/sun/SDL_sunaudio.c Tue Nov 22 15:07:41 2005 +0000 @@ -165,9 +165,9 @@ #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 */