From b1889141088f9415af4052857ddffbfc9effb16d Mon Sep 17 00:00:00 2001 From: Debashish Ghosh Date: Thu, 30 Jul 2020 02:27:42 +0530 Subject: [PATCH] Avoid potential linker error for http_message_needs_eof Using other libraries having the same http_parser shows linker error. > multiple definition of `http_message_needs_eof' --- src/third_party/http-parser/http_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third_party/http-parser/http_parser.c b/src/third_party/http-parser/http_parser.c index c353f680a..8293f6ad6 100644 --- a/src/third_party/http-parser/http_parser.c +++ b/src/third_party/http-parser/http_parser.c @@ -474,7 +474,7 @@ static struct { }; #undef HTTP_STRERROR_GEN -int http_message_needs_eof(const http_parser *parser); +static int http_message_needs_eof(const http_parser *parser); /* Our URL parser. *