From 1efcca36cc97faa42cfc48128b25c9e1ed748bbd Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 24 Jul 2012 15:09:54 +0000 Subject: Fixed compilation with -Wmissing-prototypes. --- src/http/modules/ngx_http_log_module.c | 2 +- src/http/modules/ngx_http_upstream_least_conn_module.c | 2 +- src/http/ngx_http_parse_time.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/http') diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c index edb145992..5b9c79986 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c @@ -218,7 +218,7 @@ static ngx_http_log_var_t ngx_http_log_vars[] = { }; -ngx_int_t +static ngx_int_t ngx_http_log_handler(ngx_http_request_t *r) { u_char *line, *p; diff --git a/src/http/modules/ngx_http_upstream_least_conn_module.c b/src/http/modules/ngx_http_upstream_least_conn_module.c index 50e68b21b..21156ae1a 100644 --- a/src/http/modules/ngx_http_upstream_least_conn_module.c +++ b/src/http/modules/ngx_http_upstream_least_conn_module.c @@ -81,7 +81,7 @@ ngx_module_t ngx_http_upstream_least_conn_module = { }; -ngx_int_t +static ngx_int_t ngx_http_upstream_init_least_conn(ngx_conf_t *cf, ngx_http_upstream_srv_conf_t *us) { diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c index 3801df2fd..985af3172 100644 --- a/src/http/ngx_http_parse_time.c +++ b/src/http/ngx_http_parse_time.c @@ -7,6 +7,7 @@ #include #include +#include static ngx_uint_t mday[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -- cgit