Mercurial > hg > nginx
changeset 6923:fbdaad9b0e7b
Added missing "static" specifiers found by gcc -Wtraditional.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 06 Mar 2017 11:09:47 +0300 |
parents | a72886067bbb |
children | 03735fef08da |
files | src/event/modules/ngx_devpoll_module.c src/event/modules/ngx_eventport_module.c src/http/ngx_http_upstream.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/modules/ngx_devpoll_module.c Thu Mar 02 08:46:00 2017 -0500 +++ b/src/event/modules/ngx_devpoll_module.c Mon Mar 06 11:09:47 2017 +0300 @@ -336,7 +336,7 @@ } -ngx_int_t +static ngx_int_t ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) {
--- a/src/event/modules/ngx_eventport_module.c Thu Mar 02 08:46:00 2017 -0500 +++ b/src/event/modules/ngx_eventport_module.c Mon Mar 06 11:09:47 2017 +0300 @@ -432,7 +432,7 @@ } -ngx_int_t +static ngx_int_t ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) {
--- a/src/http/ngx_http_upstream.c Thu Mar 02 08:46:00 2017 -0500 +++ b/src/http/ngx_http_upstream.c Mon Mar 06 11:09:47 2017 +0300 @@ -5554,7 +5554,7 @@ #if (NGX_HTTP_CACHE) -ngx_int_t +static ngx_int_t ngx_http_upstream_cache_status(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data) {