From: Richard Levitte Date: Wed, 13 Mar 2019 13:01:27 +0000 (+0100) Subject: test/params_test.c: make more global variables static X-Git-Tag: openssl-3.0.0-alpha1~2373 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=932c3d0f6706a08932d89c8610b06cb57fba13ce;p=oweals%2Fopenssl.git 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) --- 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 };