aports/main/ciwiki/gcc-10.patch

18 lines
360 B
Diff

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 *