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 <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/8469)
This commit is contained in:
Richard Levitte 2019-03-13 13:56:46 +01:00
parent 62ca156505
commit 847275075f

View file

@ -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];