1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-26 09:37:44 +02:00
openwrt-packages/utils/ykpers/patches/010-gcc10.patch
Rosen Penev cbee15724c
ykpers: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-29 21:00:13 -07:00

14 lines
308 B
Diff

--- a/ykpers-args.h
+++ b/ykpers-args.h
@@ -33,8 +33,8 @@
#include "ykpers.h"
-const char *usage;
-const char *optstring;
+extern const char *usage;
+extern const char *optstring;
int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
size_t oathid_len, const char **infname,