[nginx] Added missing "static" specifiers found by gcc -Wtraditional.
Ruslan Ermilov
ru at nginx.com
Mon Mar 6 08:11:53 UTC 2017
details: http://hg.nginx.org/nginx/rev/fbdaad9b0e7b
branches:
changeset: 6923:fbdaad9b0e7b
user: Ruslan Ermilov <ru at nginx.com>
date: Mon Mar 06 11:09:47 2017 +0300
description:
Added missing "static" specifiers found by gcc -Wtraditional.
diffstat:
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(-)
diffs (36 lines):
diff -r a72886067bbb -r fbdaad9b0e7b src/event/modules/ngx_devpoll_module.c
--- 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_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 -r a72886067bbb -r fbdaad9b0e7b src/event/modules/ngx_eventport_module.c
--- 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_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 -r a72886067bbb -r fbdaad9b0e7b src/http/ngx_http_upstream.c
--- 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 @@ 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)
{
More information about the nginx-devel
mailing list