summaryrefslogtreecommitdiff
path: root/games-roguelike/angband/files/angband-4.2.0-gcc-10.patch
blob: 6aeb1f7a20470f27bfca713cf3d45cac6f75dca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
https://bugs.gentoo.org/707770

--- a/src/mon-blows.h
+++ b/src/mon-blows.h
@@ -41,7 +41,7 @@ struct blow_method {
 	struct blow_method *next;
 };
 
-struct blow_method *blow_methods;
+extern struct blow_method *blow_methods;
 
 /**
  * Storage for context information for effect handlers called in
@@ -83,7 +83,7 @@ struct blow_effect {
 	struct blow_effect *next;
 };
 
-struct blow_effect *blow_effects;
+extern struct blow_effect *blow_effects;
 
 /* Functions */
 int blow_index(const char *name);