From 847275075f971afeb5fa928c078edf3bc17cddb3 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 13 Mar 2019 13:56:46 +0100 Subject: [PATCH] test/params_test.c: make construct_api_params() static With enough warning flags, compilers complain when a non-static function hasn't been properly declared... Reviewed-by: Nicola Tuveri (Merged from https://github.com/openssl/openssl/pull/8469) --- test/params_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/params_test.c b/test/params_test.c index 09b6c50d71..c7fa1b16e7 100644 --- a/test/params_test.c +++ b/test/params_test.c @@ -387,7 +387,7 @@ static const OSSL_PARAM static_api_params[] = { * The same array again, but constructed at run-time * This exercises the OSSL_PARAM constructor functions */ -OSSL_PARAM *construct_api_params(void) +static OSSL_PARAM *construct_api_params(void) { size_t n = 0; static OSSL_PARAM params[10]; -- 2.25.1