mirror of
https://github.com/openssl/openssl.git
synced 2025-01-24 13:55:42 +08:00
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)
This commit is contained in:
parent
9643ddb13a
commit
1fcd84c701
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user