summaryrefslogtreecommitdiffstats
path: root/regress/lib
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-10-16 20:38:28 +0000
committertb <tb@openbsd.org>2020-10-16 20:38:28 +0000
commit1eda1a0f279b602cbae3d72b03ff37fcbd151b75 (patch)
treea00b928937b9464b09f44bc17c637689f4099433 /regress/lib
parentAdd an explicit cast to make this test compile and pass with gcc. (diff)
downloadwireguard-openbsd-1eda1a0f279b602cbae3d72b03ff37fcbd151b75.tar.xz
wireguard-openbsd-1eda1a0f279b602cbae3d72b03ff37fcbd151b75.zip
make this test compile and pass on sparc64
Two functions missed (void) in their declaration which made gcc whine "warning: function declaration isn't a prototype".
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libssl/ciphers/cipherstest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libssl/ciphers/cipherstest.c b/regress/lib/libssl/ciphers/cipherstest.c
index c79b6a3c31f..4d0260e2aa5 100644
--- a/regress/lib/libssl/ciphers/cipherstest.c
+++ b/regress/lib/libssl/ciphers/cipherstest.c
@@ -238,7 +238,7 @@ struct parse_ciphersuites_test parse_ciphersuites_tests[] = {
(sizeof(parse_ciphersuites_tests) / sizeof(*parse_ciphersuites_tests))
static int
-parse_ciphersuites_test()
+parse_ciphersuites_test(void)
{
struct parse_ciphersuites_test *pct;
STACK_OF(SSL_CIPHER) *ciphers = NULL;
@@ -426,7 +426,7 @@ struct cipher_set_test cipher_set_tests[] = {
(sizeof(cipher_set_tests) / sizeof(*cipher_set_tests))
static int
-cipher_set_test()
+cipher_set_test(void)
{
struct cipher_set_test *cst;
STACK_OF(SSL_CIPHER) *ciphers = NULL;