blob: 28f65563cb3d439f70f9c72b76be03be0f95d612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Clean up code to work with gcc4
patch by Mark Loeser
--- allegro-4.1.18/src/gui.c
+++ allegro-4.1.18/src/gui.c
@@ -1798,6 +1798,7 @@
+static int shutdown_single_menu(MENU_PLAYER *, int *);
/* update_menu:
* Updates the status of a menu player object returned by init_menu(),
* returning TRUE if it is still active or FALSE if it has finished.
@@ -1810,8 +1810,6 @@
*/
int update_menu(MENU_PLAYER *player)
{
- static int shutdown_single_menu(MENU_PLAYER *, int *);
-
MENU_PLAYER *i;
int c, c2;
int old_sel, child_ret;
--- allegro-4.1.18/src/sound.c
+++ allegro-4.1.18/src/sound.c
@@ -25,7 +25,7 @@
-extern DIGI_DRIVER digi_none;
+static DIGI_DRIVER digi_none;
|