Skip to content

Commit

Permalink
test/trace_api_test.c: fix gcc error on -Werror=strict-prototypes
Browse files Browse the repository at this point in the history
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 #19277)

(cherry picked from commit 1fcd84c)
  • Loading branch information
DDvO authored and t8m committed Nov 23, 2022
1 parent 9099a05 commit b800396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/trace_api_test.c
Expand Up @@ -67,15 +67,15 @@ 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");
BIO_printf(trc_out, "Good Bye Universe\n");
} 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;
Expand Down

0 comments on commit b800396

Please sign in to comment.