diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-05-15 21:32:07 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-05-15 21:32:07 +0300 |
commit | d0de6df83987a7e8e25fab9ba5f274b993c7f094 (patch) | |
tree | 7fa99699b04f0277800185045afb85ffdcac0b68 /src/nxt_string.h | |
parent | 79f5e531fe6451eccff1c4dc14826c30f922ead1 (diff) | |
download | unit-d0de6df83987a7e8e25fab9ba5f274b993c7f094.tar.gz unit-d0de6df83987a7e8e25fab9ba5f274b993c7f094.tar.bz2 |
Fixed global constant declaration (appeared in 9af10e099d09).
This fixes building with GCC 10, which is default to -fno-common.
See: https://gcc.gnu.org/gcc-10/porting_to.html
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r-- | src/nxt_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h index 7d1e044d..3f9192e2 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -180,7 +180,7 @@ NXT_EXPORT uintptr_t nxt_encode_complex_uri(u_char *dst, u_char *src, size_t length); NXT_EXPORT nxt_bool_t nxt_is_complex_uri_encoded(u_char *s, size_t length); -NXT_EXPORT const uint8_t nxt_hex2int[256]; +extern const uint8_t nxt_hex2int[256]; #endif /* _NXT_STRING_H_INCLUDED_ */ |