summaryrefslogtreecommitdiff
blob: 4cc9bb5be02c90fec068da431d75b875981272e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://bugs.gentoo.org/706880
--- a/src/editor.c
+++ b/src/editor.c
@@ -24,7 +24,7 @@
 #include "common.h"
 #include "proto.h"
 
-char map[MAP_YSIZE][MAP_XSIZE];
+extern char map[MAP_YSIZE][MAP_XSIZE];
 int lock;
 int last_obj;
 
--- a/src/frame.c
+++ b/src/frame.c
@@ -26,7 +26,7 @@ void bail(char *message);
 void sigint_handler();
 void sigwinch_handler();
 
-int need_refresh;
+extern int need_refresh;
 
 void curses_start(void)
 {