From 5d4e80b8fbfff6d2ab3948b19c5711cc03211e6d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 5 Sep 2008 15:25:47 +0000 Subject: [PATCH] remove unused #include's --- src/core/nginx.c | 1 - src/http/modules/ngx_http_fastcgi_module.c | 1 - src/http/modules/ngx_http_log_module.c | 1 - src/http/modules/ngx_http_memcached_module.c | 1 - src/http/modules/ngx_http_proxy_module.c | 1 - src/http/ngx_http.c | 1 - src/http/ngx_http_core_module.c | 2 -- src/http/ngx_http_core_module.h | 4 ++-- src/http/ngx_http_parse_time.c | 1 - src/http/ngx_http_request.c | 1 - src/http/ngx_http_request_body.c | 1 - src/http/ngx_http_variables.c | 1 - src/http/ngx_http_variables.h | 1 - src/http/ngx_http_write_filter_module.c | 1 - 14 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/core/nginx.c b/src/core/nginx.c index fb4ac2616..c1c6c0c25 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -6,7 +6,6 @@ #include #include -#include #include diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index de149ac31..049c1130b 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -7,7 +7,6 @@ #include #include #include -#include typedef struct { diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c index 5b8adc595..4448363c5 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c @@ -7,7 +7,6 @@ #include #include #include -#include typedef struct ngx_http_log_op_s ngx_http_log_op_t; diff --git a/src/http/modules/ngx_http_memcached_module.c b/src/http/modules/ngx_http_memcached_module.c index 64592f3ae..9a6fb1646 100644 --- a/src/http/modules/ngx_http_memcached_module.c +++ b/src/http/modules/ngx_http_memcached_module.c @@ -6,7 +6,6 @@ #include #include -#include #include diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index b69272d5f..6c0e28a34 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -6,7 +6,6 @@ #include #include -#include #include diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index d476b5f10..3d8915767 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -6,7 +6,6 @@ #include #include -#include #include diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index dbdde6b01..e1d5a8f55 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -6,9 +6,7 @@ #include #include -#include #include -#include typedef struct { diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 54e4493bc..a3d8940a9 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -8,8 +8,8 @@ #define _NGX_HTTP_CORE_H_INCLUDED_ -#include -#include +#include +#include #include diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c index eac23f2f9..23fc23854 100644 --- a/src/http/ngx_http_parse_time.c +++ b/src/http/ngx_http_parse_time.c @@ -6,7 +6,6 @@ #include #include -#include static int mday[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 113c5e894..e163fd8ef 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -6,7 +6,6 @@ #include #include -#include #include diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index a5b6813a2..97c57ce3a 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -6,7 +6,6 @@ #include #include -#include #include diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index 15d1c6d0c..f61482f4c 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -6,7 +6,6 @@ #include #include -#include #include #include diff --git a/src/http/ngx_http_variables.h b/src/http/ngx_http_variables.h index bc2d10035..bed0c64fd 100644 --- a/src/http/ngx_http_variables.h +++ b/src/http/ngx_http_variables.h @@ -10,7 +10,6 @@ #include #include -#include #include diff --git a/src/http/ngx_http_write_filter_module.c b/src/http/ngx_http_write_filter_module.c index bc62b1817..4381a4a57 100644 --- a/src/http/ngx_http_write_filter_module.c +++ b/src/http/ngx_http_write_filter_module.c @@ -6,7 +6,6 @@ #include #include -#include #include