From 2a6af1d21407cffbb687fffa8b6a1e7c8a273ddd Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Mon, 9 Sep 2019 17:39:24 +0300 Subject: Added "extern" to nxt_http_fields_hash_proto to avoid link issues. --- src/nxt_http_parse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h index c5b11bf3..42189182 100644 --- a/src/nxt_http_parse.h +++ b/src/nxt_http_parse.h @@ -113,7 +113,7 @@ nxt_int_t nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash, void *ctx); -const nxt_lvlhsh_proto_t nxt_http_fields_hash_proto; +extern const nxt_lvlhsh_proto_t nxt_http_fields_hash_proto; nxt_inline nxt_int_t nxt_http_field_process(nxt_http_field_t *field, nxt_lvlhsh_t *hash, void *ctx) -- cgit