Parcourir la source

Added missing "static" declarations

tags/v0.9.3
Michael Brown il y a 17 ans
Parent
révision
94415b7669
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/net/tcp/http.c

+ 2
- 2
src/net/tcp/http.c Voir le fichier

@@ -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
 };

Chargement…
Annuler
Enregistrer