# HG changeset patch # User Ruslan Ermilov # Date 1488787787 -10800 # Node ID fbdaad9b0e7bdb370789bcfe271d6549c4465313 # Parent a72886067bbbfe854617976839434df76f0565b6 Added missing "static" specifiers found by gcc -Wtraditional. diff --git a/src/event/modules/ngx_devpoll_module.c b/src/event/modules/ngx_devpoll_module.c --- 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, n } -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 --- 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_p } -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 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -5554,7 +5554,7 @@ ngx_http_upstream_cookie_variable(ngx_ht #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) {