|
@@ -216,7 +216,7 @@ struct http_header_handler {
|
216
|
216
|
};
|
217
|
217
|
|
218
|
218
|
/** List of HTTP header handlers */
|
219
|
|
-struct http_header_handler http_header_handlers[] = {
|
|
219
|
+static struct http_header_handler http_header_handlers[] = {
|
220
|
220
|
{
|
221
|
221
|
.header = "Content-Length",
|
222
|
222
|
.rx = http_rx_content_length,
|
|
@@ -279,7 +279,7 @@ struct http_line_handler {
|
279
|
279
|
};
|
280
|
280
|
|
281
|
281
|
/** List of HTTP line-based data handlers */
|
282
|
|
-struct http_line_handler http_line_handlers[] = {
|
|
282
|
+static struct http_line_handler http_line_handlers[] = {
|
283
|
283
|
[HTTP_RX_RESPONSE] = { .rx = http_rx_response },
|
284
|
284
|
[HTTP_RX_HEADER] = { .rx = http_rx_header },
|
285
|
285
|
};
|