[openssl-commits] [openssl] master update
bernd.edlinger at hotmail.de
bernd.edlinger at hotmail.de
Thu Jun 21 17:06:00 UTC 2018
The branch master has been updated
via 91860165820daf7a17836597f18752f094b887c8 (commit)
from 991f0355fb782f499e226a732c0099847048c91a (commit)
- Log -----------------------------------------------------------------
commit 91860165820daf7a17836597f18752f094b887c8
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: Wed Jun 20 21:41:05 2018 +0200
Add -Wstrict-prototypes option to --strict-warnings
[extended tests]
Reviewed-by: Rich Salz <rsalz at openssl.org>
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6542)
-----------------------------------------------------------------------
Summary of changes:
Configure | 1 +
crypto/ct/ct_log.c | 2 +-
crypto/ec/curve25519.c | 2 +-
test/testutil/driver.c | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Configure b/Configure
index bcf2c04..9a60091 100755
--- a/Configure
+++ b/Configure
@@ -125,6 +125,7 @@ my $gcc_devteam_warn = "-DDEBUG_UNUSED"
. " -Wswitch"
. " -Wsign-compare"
. " -Wmissing-prototypes"
+ . " -Wstrict-prototypes"
. " -Wshadow"
. " -Wformat"
. " -Wtype-limits"
diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c
index 3c9f979..be6681d 100644
--- a/crypto/ct/ct_log.c
+++ b/crypto/ct/ct_log.c
@@ -46,7 +46,7 @@ typedef struct ctlog_store_load_ctx_st {
* Creates an empty context for loading a CT log store.
* It should be populated before use.
*/
-static CTLOG_STORE_LOAD_CTX *ctlog_store_load_ctx_new();
+static CTLOG_STORE_LOAD_CTX *ctlog_store_load_ctx_new(void);
/*
* Deletes a CT log store load context.
diff --git a/crypto/ec/curve25519.c b/crypto/ec/curve25519.c
index 0f18ff7..9666de1 100644
--- a/crypto/ec/curve25519.c
+++ b/crypto/ec/curve25519.c
@@ -150,7 +150,7 @@ void x25519_fe51_mul121666(fe51 h, fe51 f);
typedef uint64_t fe64[4];
-int x25519_fe64_eligible();
+int x25519_fe64_eligible(void);
/*
* There are no reference C implementations for this radix.
diff --git a/test/testutil/driver.c b/test/testutil/driver.c
index 9cdce7a..8d48333 100644
--- a/test/testutil/driver.c
+++ b/test/testutil/driver.c
@@ -26,7 +26,7 @@
*/
typedef struct test_info {
const char *test_case_name;
- int (*test_fn) ();
+ int (*test_fn) (void);
int (*param_test_fn)(int idx);
int num;
More information about the openssl-commits
mailing list