remove unused #include's
diff --git a/src/core/nginx.c b/src/core/nginx.c index fb4ac26..c1c6c0c 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <nginx.h>
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index de149ac..049c113 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -7,7 +7,6 @@ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> -#include <nginx.h> typedef struct {
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c index 5b8adc5..4448363 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c
@@ -7,7 +7,6 @@ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> -#include <nginx.h> 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 64592f3..9a6fb16 100644 --- a/src/http/modules/ngx_http_memcached_module.c +++ b/src/http/modules/ngx_http_memcached_module.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index b69272d..6c0e28a 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index d476b5f..3d89157 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index dbdde6b..e1d5a8f 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -6,9 +6,7 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h> -#include <nginx.h> typedef struct {
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 54e4493..a3d8940 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 <ngx_string.h> -#include <ngx_array.h> +#include <ngx_config.h> +#include <ngx_core.h> #include <ngx_http.h>
diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c index eac23f2..23fc238 100644 --- a/src/http/ngx_http_parse_time.c +++ b/src/http/ngx_http_parse_time.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_types.h> 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 113c5e8..e163fd8 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index a5b6813..97c57ce 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index 15d1c6d..f61482f 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h> #include <nginx.h>
diff --git a/src/http/ngx_http_variables.h b/src/http/ngx_http_variables.h index bc2d100..bed0c64 100644 --- a/src/http/ngx_http_variables.h +++ b/src/http/ngx_http_variables.h
@@ -10,7 +10,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>
diff --git a/src/http/ngx_http_write_filter_module.c b/src/http/ngx_http_write_filter_module.c index bc62b18..4381a4a 100644 --- a/src/http/ngx_http_write_filter_module.c +++ b/src/http/ngx_http_write_filter_module.c
@@ -6,7 +6,6 @@ #include <ngx_config.h> #include <ngx_core.h> -#include <ngx_event.h> #include <ngx_http.h>