You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
3 years ago
|
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;
|