projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62ca156
)
test/params_test.c: make construct_api_params() static
author
Richard Levitte
<levitte@openssl.org>
Wed, 13 Mar 2019 12:56:46 +0000
(13:56 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Wed, 13 Mar 2019 12:56:46 +0000
(13:56 +0100)
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)
test/params_test.c
patch
|
blob
|
history
diff --git
a/test/params_test.c
b/test/params_test.c
index 09b6c50d71c6f644f75cfd529c87bd888a8608ab..c7fa1b16e76531defd703636a70268dd80fde7cf 100644
(file)
--- 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];