[njs] Added missed static declarations.

Dmitry Volyntsev xeioex at nginx.com
Wed Dec 22 16:55:07 UTC 2021


details:   https://hg.nginx.org/njs/rev/9b8ec2a9e9b2
branches:  
changeset: 1774:9b8ec2a9e9b2
user:      Zhidao HONG <z.hong at f5.com>
date:      Wed Dec 22 10:50:16 2021 +0800
description:
Added missed static declarations.

diffstat:

 src/njs_module.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 31db917a742c -r 9b8ec2a9e9b2 src/njs_module.c
--- a/src/njs_module.c	Wed Dec 22 16:54:05 2021 +0000
+++ b/src/njs_module.c	Wed Dec 22 10:50:16 2021 +0800
@@ -218,7 +218,7 @@ fail:
 }
 
 
-njs_int_t
+static njs_int_t
 njs_parser_module_lambda_after(njs_parser_t *parser, njs_lexer_token_t *token,
     njs_queue_link_t *current)
 {
@@ -261,7 +261,7 @@ njs_parser_module_lambda_after(njs_parse
 }
 
 
-njs_int_t
+static njs_int_t
 njs_parser_module_after(njs_parser_t *parser, njs_lexer_token_t *token,
     njs_queue_link_t *current)
 {


More information about the nginx-devel mailing list