diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2022-09-24 23:57:19 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-01-11 15:06:38 +0100 |
commit | b4419635c992247cb4545054be664bf5218e7af4 (patch) | |
tree | b12f5f6f61fcf4ecf1614ca61a5bb2876b306d11 /test | |
parent | 5c6936e92df88828ed58c678f86b555b5413e858 (diff) |
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>
(cherry picked from commit 1fcd84c7017416a3c9461914d7a943591ad87a82)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19958)
Diffstat (limited to 'test')
-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 bd51bd7c30..c92194ff97 100644 --- a/test/trace_api_test.c +++ b/test/trace_api_test.c @@ -66,7 +66,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"); @@ -74,7 +74,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; |