| Re: [AD] gcc-4.0.0 problems | 
[ Thread Index | 
Date Index
| More lists.liballeg.org/allegro-developers Archives
] 
Milan Mimica wrote:
Peter Wang wrote:
This patch should fix those files.  Any more?
./src/sound.c:53: error: static declaration of 'digi_none' follows 
non-static declaration
./src/sound.c:28: error: previous declaration of 'digi_none' was here
Ok.  More?  Try "make -k" :-)
Peter
Index: src/sound.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/sound.c,v
retrieving revision 1.24
diff -u -r1.24 sound.c
--- src/sound.c	18 Mar 2005 10:43:28 -0000	1.24
+++ src/sound.c	27 Apr 2005 08:43:23 -0000
@@ -25,7 +25,7 @@
 
 
 
-extern DIGI_DRIVER digi_none;
+static DIGI_DRIVER digi_none;