packages/utils/ykpers/patches/010-gcc10.patch

14 lines
308 B
Diff
Raw Normal View History

--- 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,