summaryrefslogtreecommitdiff
path: root/app-editors/ee/files/ee-gcc-10.patch
blob: 2577d76f25f6cbff8161c9707a80417d5ccc4257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/new_curse.c
+++ b/new_curse.c
@@ -83,6 +83,8 @@
 #endif
 
 
+struct _line *top_of_win;
+
 WINDOW *curscr;
 static WINDOW *virtual_scr;
 WINDOW *stdscr;
--- a/new_curse.h
+++ b/new_curse.h
@@ -161,7 +161,7 @@
 	int number;
 	};
 
-struct _line *top_of_win;
+extern struct _line *top_of_win;
 
 typedef struct WIND {
 	int SR;		/* starting row		*/