summaryrefslogtreecommitdiff
path: root/multimedia/libmp4v2/patches/patch-af
blob: 1bb1fe5df70368eeb399ffc3f2ac1560d6e7f9e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-af,v 1.1.1.1 2007/02/09 19:57:48 drochner Exp $

gcc4 does not like "static" external function declarations.

--- lib/SDLAudio/src/audio/sun/SDL_sunaudio.c.orig	2004-02-24 21:36:07.000000000 +0100
+++ lib/SDLAudio/src/audio/sun/SDL_sunaudio.c	2006-06-16 09:16:42.000000000 +0200
@@ -163,9 +163,11 @@ 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 */