diff options
| author | Michael Brown | 2007-07-17 02:42:10 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-07-17 02:42:10 +0200 |
| commit | 94415b7669ad591f4d74ea79b2a6a56d8b88f8e8 (patch) | |
| tree | b9d42434579314e6eb37ec15abe3b95f55d95c92 /src | |
| parent | Restore the "shared symbol found only in a single object should be (diff) | |
| download | ipxe-94415b7669ad591f4d74ea79b2a6a56d8b88f8e8.tar.gz ipxe-94415b7669ad591f4d74ea79b2a6a56d8b88f8e8.tar.xz ipxe-94415b7669ad591f4d74ea79b2a6a56d8b88f8e8.zip | |
Added missing "static" declarations
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/tcp/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index 0c0164139..88958af5a 100644 --- a/src/net/tcp/http.c +++ b/src/net/tcp/http.c @@ -216,7 +216,7 @@ struct http_header_handler { }; /** List of HTTP header handlers */ -struct http_header_handler http_header_handlers[] = { +static struct http_header_handler http_header_handlers[] = { { .header = "Content-Length", .rx = http_rx_content_length, @@ -279,7 +279,7 @@ struct http_line_handler { }; /** List of HTTP line-based data handlers */ -struct http_line_handler http_line_handlers[] = { +static struct http_line_handler http_line_handlers[] = { [HTTP_RX_RESPONSE] = { .rx = http_rx_response }, [HTTP_RX_HEADER] = { .rx = http_rx_header }, }; |
