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:
parent
62ca156505
commit
847275075f
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue