summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_random.h')
-rw-r--r--src/nxt_random.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_random.h b/src/nxt_random.h
index f9c07e54..962fdf8f 100644
--- a/src/nxt_random.h
+++ b/src/nxt_random.h
@@ -19,8 +19,8 @@ typedef struct {
void nxt_random_init(nxt_random_t *r);
uint32_t nxt_random(nxt_random_t *r);
-#if (NXT_LIB_UNIT_TEST)
-nxt_int_t nxt_random_unit_test(nxt_thread_t *thr);
+#if (NXT_TESTS)
+nxt_int_t nxt_random_test(nxt_thread_t *thr);
#endif