diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2018-05-09 17:09:50 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2018-05-11 14:37:48 +0200 |
commit | 3cb7c5cfef25463bd197b0c12ca7966f525ebf73 (patch) | |
tree | e48a48cfd6aa0a3492cf6aec22de0e70f7284577 /crypto/rand | |
parent | d4a8ba77a4004b40890c4a9700ba959fd26af170 (diff) |
Use void in all function definitions that do not take any arguments
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #6208
Diffstat (limited to 'crypto/rand')
-rw-r--r-- | crypto/rand/drbg_lib.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_lib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c index 60ddd2fe20..729b49c943 100644 --- a/crypto/rand/drbg_lib.c +++ b/crypto/rand/drbg_lib.c @@ -921,7 +921,7 @@ void rand_drbg_cleanup_int(void) } } -void drbg_delete_thread_state() +void drbg_delete_thread_state(void) { RAND_DRBG *drbg; diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index 050c9d23cc..1a9a7d2ce0 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -303,7 +303,7 @@ void rand_drbg_cleanup_additional_data(unsigned char *out, size_t outlen) OPENSSL_secure_clear_free(out, outlen); } -void rand_fork() +void rand_fork(void) { rand_fork_count++; } |