diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2022-09-24 23:57:19 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2022-09-28 10:37:54 +0200 |
commit | 1fcd84c7017416a3c9461914d7a943591ad87a82 (patch) | |
tree | 83b08a5e8e35a0f7200171ceee0d2db85c56d484 /test/trace_api_test.c | |
parent | dgram_pair_read_inner(): Do not move buf pointer if it is NULL (diff) | |
download | openssl-1fcd84c7017416a3c9461914d7a943591ad87a82.tar.xz openssl-1fcd84c7017416a3c9461914d7a943591ad87a82.zip |
test/trace_api_test.c: fix gcc error on -Werror=strict-prototypes
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/19277)
Diffstat (limited to 'test/trace_api_test.c')
-rw-r--r-- | test/trace_api_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trace_api_test.c b/test/trace_api_test.c index 32a8ad94a3..cfef47eda1 100644 --- a/test/trace_api_test.c +++ b/test/trace_api_test.c @@ -67,7 +67,7 @@ static int test_trace_categories(void) } #ifndef OPENSSL_NO_TRACE -static void put_trace_output() +static void put_trace_output(void) { OSSL_TRACE_BEGIN(TLS) { BIO_printf(trc_out, "Hello World\n"); @@ -75,7 +75,7 @@ static void put_trace_output() } OSSL_TRACE_END(TLS); } -static int test_trace_channel() +static int test_trace_channel(void) { static const char expected[] = "xyz-\nHello World\nGood Bye Universe\n-abc\n"; static const char expected_len = sizeof(expected) - 1; |