From 1fcd84c7017416a3c9461914d7a943591ad87a82 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Sat, 24 Sep 2022 23:57:19 +0200 Subject: [PATCH] test/trace_api_test.c: fix gcc error on -Werror=strict-prototypes Reviewed-by: Tomas Mraz Reviewed-by: Todd Short Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/19277) --- test/trace_api_test.c | 4 ++-- 1 file 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; -- GitLab