Skip to content

Commit 5da2fd5

Browse files
Avoid potential linker error for http_message_needs_eof (#482)
Using other libraries having the same http_parser shows linker error. > multiple definition of `http_message_needs_eof'
1 parent a7f49e6 commit 5da2fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/third_party/http-parser/http_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ static struct {
474474
};
475475
#undef HTTP_STRERROR_GEN
476476

477-
int http_message_needs_eof(const http_parser *parser);
477+
static int http_message_needs_eof(const http_parser *parser);
478478

479479
/* Our URL parser.
480480
*

0 commit comments

Comments
 (0)