Add "extern" to some array decls in str.h

This commit is contained in:
Andrew Bettison 2015-09-21 12:30:36 +09:30
parent 7635e6b71b
commit 487fe462b2

4
str.h
View File

@ -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