summaryrefslogtreecommitdiff
path: root/user/yubikey-personalization/gcc10.patch
blob: 0e09e821e2b7037f23a95e0917bda1b423871cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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,