summaryrefslogtreecommitdiff
blob: db8215ecf90f4a5487d685c2ca5045386436356b (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
--- a/engine/globals.c
+++ b/engine/globals.c
@@ -136,6 +136,9 @@
 				 * move generation is enabled.
 				 */
 
+int meaningless_white_moves[BOARDMAX];
+int meaningless_black_moves[BOARDMAX];
+
 float best_move_values[10];
 int   best_moves[10];
 float white_score;
--- a/engine/liberty.h
+++ b/engine/liberty.h
@@ -859,8 +859,8 @@
 extern struct worm_data worm[BOARDMAX];
 
 /* Unconditionally meaningless moves. */
-int meaningless_black_moves[BOARDMAX];
-int meaningless_white_moves[BOARDMAX];
+extern int meaningless_black_moves[BOARDMAX];
+extern int meaningless_white_moves[BOARDMAX];
 
 /* Surround cache (see surround.c) */