summaryrefslogtreecommitdiff
path: root/games-arcade/xrick/files/xrick-021212-fno-common.patch
blob: d3c05c30dbef174f1a7d59a48f0dfc071079e15f (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
--- a/include/img.h
+++ b/include/img.h
@@ -27,7 +27,7 @@
   U8 *pixels;
 } img_t;
 
-img_t *IMG_SPLASH;
+extern img_t *IMG_SPLASH;
 
 #endif
 
--- a/src/dat_snd.c
+++ b/src/dat_snd.c
@@ -19,14 +19,14 @@
 
 sound_t *WAV_WAA;
 sound_t *WAV_BOMB;
-sound_t *WAV_BULLET;
-sound_t *WAV_WALK;
-sound_t *WAV_JUMP;
+extern sound_t *WAV_BULLET;
+extern sound_t *WAV_WALK;
+extern sound_t *WAV_JUMP;
 sound_t *WAV_TING;
-sound_t *WAV_BOMBSHHT;
-sound_t *WAV_BONUS;
+extern sound_t *WAV_BOMBSHHT;
+extern sound_t *WAV_BONUS;
 sound_t *WAV_SHHT;
-sound_t *WAV_BOX;
+extern sound_t *WAV_BOX;
 sound_t *WAV_DDDING;
 
 #endif /* ENABLE_SOUND */