ncftp: fix compilation with gcc10

This commit is contained in:
Jernej Skrabec 2020-06-23 00:11:16 +02:00
parent 98b944385f
commit a8f9909a88

View File

@ -0,0 +1,12 @@
diff -Nur a/sh_util/gpshare.c b/sh_util/gpshare.c
--- a/sh_util/gpshare.c 2016-11-13 00:53:39.000000000 +0100
+++ b/sh_util/gpshare.c 2020-06-22 20:24:08.160203885 +0200
@@ -28,7 +28,7 @@
static int gIsAtty1 = 1, gIsAtty2 = 1;
extern int gLoadedBm, gBookmarkMatchMode;
-Bookmark gBm;
+extern Bookmark gBm;
double
FileSize(double size, const char **uStr0, double *uMult0)