From 932c3d0f6706a08932d89c8610b06cb57fba13ce Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 13 Mar 2019 14:01:27 +0100 Subject: [PATCH] test/params_test.c: make more global variables static Again, compilers that don't like them being undeclared... Reviewed-by: Nicola Tuveri (Merged from https://github.com/openssl/openssl/pull/8469) --- test/params_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/params_test.c b/test/params_test.c index c7fa1b16e7..7fc21da578 100644 --- a/test/params_test.c +++ b/test/params_test.c @@ -414,11 +414,11 @@ struct param_owner_st { OSSL_PARAM *(*constructed_params)(void); }; -struct param_owner_st raw_params = { +static const struct param_owner_st raw_params = { static_raw_params, NULL }; -struct param_owner_st api_params = { +static const struct param_owner_st api_params = { static_api_params, construct_api_params };