summaryrefslogtreecommitdiff
path: root/games/tuxmath/files/patch-src_titlescreen.c
blob: 5fa9947ddea0606fe9b304bec64ddf4fc3baf67b (plain) (blame)
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
--- src/titlescreen.c.orig	2011-05-04 00:16:12 UTC
+++ src/titlescreen.c
@@ -41,16 +41,16 @@ SDL_Rect dstupdate[MAX_UPDATES];
 int numupdates = 0; // tracks how many blits to be done
 
 // Colors we use:
-SDL_Color black;
-SDL_Color gray;
-SDL_Color dark_blue;
-SDL_Color red;
-SDL_Color white;
-SDL_Color yellow;
-SDL_Color bright_green;
+extern SDL_Color black;
+extern SDL_Color gray;
+extern SDL_Color dark_blue;
+extern SDL_Color red;
+extern SDL_Color white;
+extern SDL_Color yellow;
+extern SDL_Color bright_green;
 
 // Type needed for trans_wipe():
-struct blit {
+extern struct blit {
     SDL_Surface *src;
     SDL_Rect *srcrect;
     SDL_Rect *dstrect;