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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
https://bugs.gentoo.org/707156
--- a/src/ip6_bit.c
+++ b/src/ip6_bit.c
@@ -7,7 +7,7 @@
#define BITSUBSTITUTION
-char strnum[FMT_ULONG];
+extern char strnum[FMT_ULONG];
/**
* This function converts a IPv6 address into its binary representation.
--- a/src/remoteinfo.c
+++ b/src/remoteinfo.c
@@ -50,7 +50,7 @@ static int doit(stralloc *out,int s,char ipremote[4],uint16 portremote,char iplo
{
buffer b;
char bspace[128];
- char strnum[FMT_ULONG];
+ extern char strnum[FMT_ULONG];
int numcolons;
char ch;
--- a/src/sslclient.c
+++ b/src/sslclient.c
@@ -98,7 +98,7 @@ static stralloc moreaddresses;
static stralloc tmp;
static stralloc fqdn;
-char strnum[FMT_ULONG];
+extern char strnum[FMT_ULONG];
char ipstr[IP6_FMT];
char seed[128];
--- a/src/sslhandle.c
+++ b/src/sslhandle.c
@@ -91,7 +91,7 @@ static stralloc remotehostsa;
char *remotehost = 0;
char *verifyhost = 0;
-char strnum[FMT_ULONG];
+extern char strnum[FMT_ULONG];
char strnum2[FMT_ULONG];
static stralloc tmp;
--- a/src/sslserver.c
+++ b/src/sslserver.c
@@ -87,7 +87,7 @@ char *verifyhost = 0;
unsigned long uid = 0;
unsigned long gid = 0;
-char strnum[FMT_ULONG];
+extern char strnum[FMT_ULONG];
char strnum2[FMT_ULONG];
static stralloc tmp;
|