summaryrefslogblamecommitdiff
path: root/user/yubikey-personalization/gcc10.patch
blob: 0e09e821e2b7037f23a95e0917bda1b423871cfc (plain) (tree)
























                                                                         
From 09ea16d9e2030e4da6ad00c1e5147e962aa7ff84 Mon Sep 17 00:00:00 2001
From: Klas Lindfors <klas@yubico.com>
Date: Mon, 17 Feb 2020 08:58:33 +0100
Subject: [PATCH] make header declarations extern

fixes #155
---
 ykpers-args.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ykpers-args.h b/ykpers-args.h
index 2a63268d..9ff455a7 100644
--- 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,