Browse Source

Added missing "static" declarations

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
94415b7669
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/net/tcp/http.c

+ 2
- 2
src/net/tcp/http.c View File

216
 };
216
 };
217
 
217
 
218
 /** List of HTTP header handlers */
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
 		.header = "Content-Length",
221
 		.header = "Content-Length",
222
 		.rx = http_rx_content_length,
222
 		.rx = http_rx_content_length,
279
 };
279
 };
280
 
280
 
281
 /** List of HTTP line-based data handlers */
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
 	[HTTP_RX_RESPONSE]	= { .rx = http_rx_response },
283
 	[HTTP_RX_RESPONSE]	= { .rx = http_rx_response },
284
 	[HTTP_RX_HEADER]	= { .rx = http_rx_header },
284
 	[HTTP_RX_HEADER]	= { .rx = http_rx_header },
285
 };
285
 };

Loading…
Cancel
Save