[njs] Fixed missing extern qualifier.

Dmitry Volyntsev xeioex at nginx.com
Tue Jul 18 11:27:28 UTC 2017


details:   http://hg.nginx.org/njs/rev/ce44f3320fdf
branches:  
changeset: 389:ce44f3320fdf
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Tue Jul 18 14:22:16 2017 +0300
description:
Fixed missing extern qualifier.

diffstat:

 njs/njscript.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r f2ecbe1c2261 -r ce44f3320fdf njs/njscript.h
--- a/njs/njscript.h	Mon Jul 17 20:38:00 2017 +0300
+++ b/njs/njscript.h	Tue Jul 18 14:22:16 2017 +0300
@@ -117,6 +117,6 @@ NXT_EXPORT nxt_int_t njs_value_string_co
 NXT_EXPORT const char **njs_vm_completions(njs_vm_t *vm);
 
 
-const nxt_mem_proto_t  njs_vm_mem_cache_pool_proto;
+extern const nxt_mem_proto_t  njs_vm_mem_cache_pool_proto;
 
 #endif /* _NJSCRIPT_H_INCLUDED_ */


More information about the nginx-devel mailing list