summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2017-03-06 11:09:47 +0300
committerRuslan Ermilov <ru@nginx.com>2017-03-06 11:09:47 +0300
commit0f89206a1078a216961d974ed5bcf6464b65cbdf (patch)
treea63dc62ebe4303573e097e96c0e0a41f84f8150f
parent0759f088a532ec48170ca03d694cc103757a0f4c (diff)
downloadnginx-0f89206a1078a216961d974ed5bcf6464b65cbdf.tar.gz
nginx-0f89206a1078a216961d974ed5bcf6464b65cbdf.tar.bz2
Added missing "static" specifiers found by gcc -Wtraditional.
-rw-r--r--src/event/modules/ngx_devpoll_module.c2
-rw-r--r--src/event/modules/ngx_eventport_module.c2
-rw-r--r--src/http/ngx_http_upstream.c2
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)
{