Welcome! Log In Create A New Profile

Advanced

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

Piotr Sikora
October 28, 2016 02:06AM
# HG changeset patch
# User Piotr Sikora <piotrsikora@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@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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Piotr Sikora 520 October 28, 2016 02:06AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready