summaryrefslogtreecommitdiffhomepage
path: root/test/nxt_lib_unit_test.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-03-14 15:09:17 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-03-14 15:09:17 +0300
commit612c083579a78c9d51fa9976e46f45b6cbaf93db (patch)
treeaf98c29218956c418c3e51dfbdb42de66c913acf /test/nxt_lib_unit_test.c
parent6f2c9acd1841ca20a1388b34aef64e9f00459090 (diff)
downloadunit-612c083579a78c9d51fa9976e46f45b6cbaf93db.tar.gz
unit-612c083579a78c9d51fa9976e46f45b6cbaf93db.tar.bz2
Fixed unit tests building broken by the previous commit.
Diffstat (limited to 'test/nxt_lib_unit_test.c')
-rw-r--r--test/nxt_lib_unit_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nxt_lib_unit_test.c b/test/nxt_lib_unit_test.c
index fce4c963..2dc6e2b7 100644
--- a/test/nxt_lib_unit_test.c
+++ b/test/nxt_lib_unit_test.c
@@ -9,6 +9,9 @@
extern char **environ;
+nxt_module_init_t nxt_init_modules[0];
+nxt_uint_t nxt_init_modules_n;
+
/* The function is defined here to prevent inline optimizations. */
static nxt_bool_t