summaryrefslogtreecommitdiffstats
path: root/test/ecdsatest.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2015-09-05 14:32:58 +0200
committerBen Laurie <ben@links.org>2015-09-11 05:51:55 +0200
commitdf2ee0e27d2db02660c1d15fe6a3e38be9df0a60 (patch)
tree8a86e360b2f0c811186bf7009f20d13b0c65b820 /test/ecdsatest.c
parentUnwriteable directories are errors (diff)
downloadopenssl-df2ee0e27d2db02660c1d15fe6a3e38be9df0a60.tar.xz
openssl-df2ee0e27d2db02660c1d15fe6a3e38be9df0a60.zip
Enable -Wmissing-variable-declarations and
-Wincompatible-pointer-types-discards-qualifiers (the latter did not require any code changes). Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/ecdsatest.c')
-rw-r--r--test/ecdsatest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ecdsatest.c b/test/ecdsatest.c
index 2cf1725d6a..9754869565 100644
--- a/test/ecdsatest.c
+++ b/test/ecdsatest.c
@@ -107,8 +107,8 @@ int change_rand(void);
int restore_rand(void);
int fbytes(unsigned char *buf, int num);
-RAND_METHOD fake_rand;
-const RAND_METHOD *old_rand;
+static RAND_METHOD fake_rand;
+static const RAND_METHOD *old_rand;
int change_rand(void)
{