From d0de6df83987a7e8e25fab9ba5f274b993c7f094 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 15 May 2020 21:32:07 +0300 Subject: 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 --- src/nxt_string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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_ */ -- cgit