From: Richard Levitte Date: Wed, 13 Mar 2019 12:56:46 +0000 (+0100) Subject: test/params_test.c: make construct_api_params() static X-Git-Tag: openssl-3.0.0-alpha1~2374 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=847275075f971afeb5fa928c078edf3bc17cddb3;p=oweals%2Fopenssl.git 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) --- 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];