aboutsummaryrefslogtreecommitdiffstats
path: root/main/ciwiki/gcc-10.patch
blob: 52aaf26142dd04c1e8c359e65d3c3dde3c53f027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Upstream: Should be
Reason: Fixes compilation under gcc-10

diff --git a/src/wiki.c b/src/wiki.c
index cb88f72..b2be314 100755
--- a/src/wiki.c
+++ b/src/wiki.c
@@ -29,8 +29,7 @@ extern int upload_status;
 extern int lgindex;
 extern int Exec_allowed;
 extern int Upload_allowed;
-
-int loginform;
+extern int loginform;
 
 /* read wiki page */
 static char *