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
+++ 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)
 {
--- 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)
 {
--- 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)
 {