From dca0aaa15884eb5bf1105e1c7a6323f11be4abd3 Mon Sep 17 00:00:00 2001 From: miod <> Date: Sun, 27 Apr 2014 20:20:59 +0000 Subject: Put explicit (void) in function declarations and shuffle keywords in some declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change. --- src/lib/libcrypto/engine/tb_cipher.c | 2 +- src/lib/libcrypto/engine/tb_dh.c | 2 +- src/lib/libcrypto/engine/tb_digest.c | 2 +- src/lib/libcrypto/engine/tb_dsa.c | 2 +- src/lib/libcrypto/engine/tb_ecdh.c | 2 +- src/lib/libcrypto/engine/tb_ecdsa.c | 2 +- src/lib/libcrypto/engine/tb_pkmeth.c | 2 +- src/lib/libcrypto/engine/tb_rand.c | 2 +- src/lib/libcrypto/engine/tb_rsa.c | 2 +- src/lib/libcrypto/engine/tb_store.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/lib/libcrypto/engine') diff --git a/src/lib/libcrypto/engine/tb_cipher.c b/src/lib/libcrypto/engine/tb_cipher.c index 177fc1fb73..8d45a9a9cf 100644 --- a/src/lib/libcrypto/engine/tb_cipher.c +++ b/src/lib/libcrypto/engine/tb_cipher.c @@ -85,7 +85,7 @@ int ENGINE_register_ciphers(ENGINE *e) return 1; } -void ENGINE_register_all_ciphers() +void ENGINE_register_all_ciphers(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_dh.c b/src/lib/libcrypto/engine/tb_dh.c index 6e9d428761..78515aeaa0 100644 --- a/src/lib/libcrypto/engine/tb_dh.c +++ b/src/lib/libcrypto/engine/tb_dh.c @@ -80,7 +80,7 @@ int ENGINE_register_DH(ENGINE *e) return 1; } -void ENGINE_register_all_DH() +void ENGINE_register_all_DH(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_digest.c b/src/lib/libcrypto/engine/tb_digest.c index d3f4bb2747..d1bb90aedd 100644 --- a/src/lib/libcrypto/engine/tb_digest.c +++ b/src/lib/libcrypto/engine/tb_digest.c @@ -85,7 +85,7 @@ int ENGINE_register_digests(ENGINE *e) return 1; } -void ENGINE_register_all_digests() +void ENGINE_register_all_digests(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_dsa.c b/src/lib/libcrypto/engine/tb_dsa.c index e4674f5f07..6731aad1da 100644 --- a/src/lib/libcrypto/engine/tb_dsa.c +++ b/src/lib/libcrypto/engine/tb_dsa.c @@ -80,7 +80,7 @@ int ENGINE_register_DSA(ENGINE *e) return 1; } -void ENGINE_register_all_DSA() +void ENGINE_register_all_DSA(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_ecdh.c b/src/lib/libcrypto/engine/tb_ecdh.c index c8ec7812c5..57354b8c11 100644 --- a/src/lib/libcrypto/engine/tb_ecdh.c +++ b/src/lib/libcrypto/engine/tb_ecdh.c @@ -95,7 +95,7 @@ int ENGINE_register_ECDH(ENGINE *e) return 1; } -void ENGINE_register_all_ECDH() +void ENGINE_register_all_ECDH(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_ecdsa.c b/src/lib/libcrypto/engine/tb_ecdsa.c index 005ecb622c..8f30e956e0 100644 --- a/src/lib/libcrypto/engine/tb_ecdsa.c +++ b/src/lib/libcrypto/engine/tb_ecdsa.c @@ -80,7 +80,7 @@ int ENGINE_register_ECDSA(ENGINE *e) return 1; } -void ENGINE_register_all_ECDSA() +void ENGINE_register_all_ECDSA(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_pkmeth.c b/src/lib/libcrypto/engine/tb_pkmeth.c index 1cdb967f25..7a59744102 100644 --- a/src/lib/libcrypto/engine/tb_pkmeth.c +++ b/src/lib/libcrypto/engine/tb_pkmeth.c @@ -86,7 +86,7 @@ int ENGINE_register_pkey_meths(ENGINE *e) return 1; } -void ENGINE_register_all_pkey_meths() +void ENGINE_register_all_pkey_meths(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_rand.c b/src/lib/libcrypto/engine/tb_rand.c index f36f67c0f6..3745ae7abd 100644 --- a/src/lib/libcrypto/engine/tb_rand.c +++ b/src/lib/libcrypto/engine/tb_rand.c @@ -80,7 +80,7 @@ int ENGINE_register_RAND(ENGINE *e) return 1; } -void ENGINE_register_all_RAND() +void ENGINE_register_all_RAND(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_rsa.c b/src/lib/libcrypto/engine/tb_rsa.c index fbc707fd26..2f4928fd66 100644 --- a/src/lib/libcrypto/engine/tb_rsa.c +++ b/src/lib/libcrypto/engine/tb_rsa.c @@ -80,7 +80,7 @@ int ENGINE_register_RSA(ENGINE *e) return 1; } -void ENGINE_register_all_RSA() +void ENGINE_register_all_RSA(void) { ENGINE *e; diff --git a/src/lib/libcrypto/engine/tb_store.c b/src/lib/libcrypto/engine/tb_store.c index 8cc435c935..bd853733ea 100644 --- a/src/lib/libcrypto/engine/tb_store.c +++ b/src/lib/libcrypto/engine/tb_store.c @@ -80,7 +80,7 @@ int ENGINE_register_STORE(ENGINE *e) return 1; } -void ENGINE_register_all_STORE() +void ENGINE_register_all_STORE(void) { ENGINE *e; -- cgit v1.2.3-55-g6feb