From 0f89206a1078a216961d974ed5bcf6464b65cbdf Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 6 Mar 2017 11:09:47 +0300 Subject: [PATCH] Added missing "static" specifiers found by gcc -Wtraditional. --- src/event/modules/ngx_devpoll_module.c | 2 +- src/event/modules/ngx_eventport_module.c | 2 +- src/http/ngx_http_upstream.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event/modules/ngx_devpoll_module.c b/src/event/modules/ngx_devpoll_module.c index d060b930b..ee9f854b6 100644 --- a/src/event/modules/ngx_devpoll_module.c +++ b/src/event/modules/ngx_devpoll_module.c @@ -336,7 +336,7 @@ ngx_devpoll_set_event(ngx_event_t *ev, ngx_int_t event, ngx_uint_t flags) } -ngx_int_t +static ngx_int_t ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) { diff --git a/src/event/modules/ngx_eventport_module.c b/src/event/modules/ngx_eventport_module.c index 0764c2159..e723f9216 100644 --- a/src/event/modules/ngx_eventport_module.c +++ b/src/event/modules/ngx_eventport_module.c @@ -432,7 +432,7 @@ ngx_eventport_notify(ngx_event_handler_pt handler) } -ngx_int_t +static ngx_int_t ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags) { diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index a6a3f912a..14046935f 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -5554,7 +5554,7 @@ ngx_http_upstream_cookie_variable(ngx_http_request_t *r, #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) {