small-package/ssocks/patches/002-gcc10.patch

12 lines
344 B
Diff

--- a/src/configd-util.h 2020-07-09 05:30:54.000000000 +0800
+++ b/src/configd-util.h 2020-09-08 19:35:11.000000000 +0800
@@ -33,7 +33,7 @@
-struct globalArgsServer_t {
+static struct globalArgsServer_t {
char fileauth[255]; // -a option
char fileconfig[255]; // -f option
char filelog[255]; // -l option