[PATCH] Configure: fix build with -Werror=old-style-definition

Piotr Sikora piotrsikora at google.com
Fri Oct 28 05:58:52 UTC 2016


# HG changeset patch
# User Piotr Sikora <piotrsikora at google.com>
# Date 1477634184 25200
#      Thu Oct 27 22:56:24 2016 -0700
# Node ID 8c0a1c8183a2811ebde2823144b5ea3bb25bec80
# Parent  d84e34c2dbde138ebd06b77bbe5b9ee2f1f62f05
Configure: fix build with -Werror=old-style-definition.

Signed-off-by: Piotr Sikora <piotrsikora at google.com>

diff -r d84e34c2dbde -r 8c0a1c8183a2 nxt/test/random_unit_test.c
--- a/nxt/test/random_unit_test.c
+++ b/nxt/test/random_unit_test.c
@@ -14,7 +14,7 @@
 
 
 static nxt_int_t
-random_unit_test()
+random_unit_test(void)
 {
     nxt_uint_t    n;
     nxt_random_t  r;



More information about the nginx-devel mailing list