From 487fe462b249845da5ec0f3e7e8111c20a5f4c96 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Mon, 21 Sep 2015 12:30:36 +0930 Subject: [PATCH] Add "extern" to some array decls in str.h --- str.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/str.h b/str.h index eb58b499..ae7f6630 100644 --- a/str.h +++ b/str.h @@ -139,8 +139,8 @@ size_t strn_fromhex(unsigned char *dstBinary, ssize_t dstsiz, const char *src, c /* Array of encoding symbols. Entry [64] is the pad character (usually '='). */ -const char base64_symbols[65]; -const char base64url_symbols[65]; +extern const char base64_symbols[65]; +extern const char base64url_symbols[65]; /* Encode 'srcBytes' bytes of binary data at 'srcBinary' into Base64 representation at 'dstBase64' * (or Base64-URL representation at 'dstBase64url'), which must point to at least