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>
This commit is contained in:
Ben Laurie
2015-09-05 13:32:58 +01:00
parent 4c7103a5ee
commit df2ee0e27d
89 changed files with 467 additions and 346 deletions

View File

@@ -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)
{