testutil/driver.c: Fix function prototype warning [-Wstrict-prototypes]
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 21 Jun 2018 21:32:38 +0000 (23:32 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 21 Jun 2018 23:04:34 +0000 (01:04 +0200)
(introduced by commit 91860165820d, which added -Wstrict-prototypes)

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/6555)

test/testutil/driver.c

index 8d483336ff44f4f598bd003796983c1c9fed06c4..09907347f17204b4305f056625ec2b9bb2cdad1c 100644 (file)
@@ -74,7 +74,7 @@ int subtest_level(void)
 }
 
 #ifndef OPENSSL_NO_CRYPTO_MDEBUG
-static int should_report_leaks()
+static int should_report_leaks(void)
 {
     /*
      * When compiled with enable-crypto-mdebug, OPENSSL_DEBUG_MEMORY=0