[nginx] Added missing "static" specifier found by gcc -Wtraditional.

Ruslan Ermilov ru at nginx.com
Thu Mar 16 16:01:22 UTC 2017


details:   http://hg.nginx.org/nginx/rev/e54c336d95aa
branches:  
changeset: 6932:e54c336d95aa
user:      Ruslan Ermilov <ru at nginx.com>
date:      Thu Mar 16 19:01:05 2017 +0300
description:
Added missing "static" specifier found by gcc -Wtraditional.

This has somehow escaped from fbdaad9b0e7b.

diffstat:

 src/os/unix/ngx_process.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d45072375572 -r e54c336d95aa src/os/unix/ngx_process.c
--- a/src/os/unix/ngx_process.c	Tue Mar 07 18:51:17 2017 +0300
+++ b/src/os/unix/ngx_process.c	Thu Mar 16 19:01:05 2017 +0300
@@ -306,7 +306,7 @@ ngx_init_signals(ngx_log_t *log)
 }
 
 
-void
+static void
 ngx_signal_handler(int signo)
 {
     char            *action;


More information about the nginx-devel mailing list