summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-09-09 17:39:24 +0300
committerMax Romanov <max.romanov@nginx.com>2019-09-09 17:39:24 +0300
commit2a6af1d21407cffbb687fffa8b6a1e7c8a273ddd (patch)
tree3c4161199dbe3189b7591253cebea8f218d4d791
parentf10a8a03a13b7659a887b2550a4e58d99d36a050 (diff)
downloadunit-2a6af1d21407cffbb687fffa8b6a1e7c8a273ddd.tar.gz
unit-2a6af1d21407cffbb687fffa8b6a1e7c8a273ddd.tar.bz2
Added "extern" to nxt_http_fields_hash_proto to avoid link issues.
Diffstat (limited to '')
-rw-r--r--src/nxt_http_parse.h2
1 files changed, 1 insertions, 1 deletions
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)