Fix remaining warnings.
MFC after: 2 weeks
This commit is contained in:
parent
cd9142c718
commit
11500c4eaa
@ -13,9 +13,6 @@ MLINKS= md5.1 rmd160.1 \
|
||||
md5.1 sha256.1 \
|
||||
md5.1 sha512.1
|
||||
|
||||
NO_WMISSING_VARIABLE_DECLARATIONS=
|
||||
WFORMAT?= 1
|
||||
|
||||
LIBADD= md
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -91,7 +91,7 @@ typedef union {
|
||||
|
||||
/* algorithm function table */
|
||||
|
||||
struct Algorithm_t Algorithm[] = {
|
||||
static struct Algorithm_t Algorithm[] = {
|
||||
{ "md5", "MD5", &MD5TestOutput, (DIGEST_Init*)&MD5Init,
|
||||
(DIGEST_Update*)&MD5_Update, (DIGEST_End*)&MD5End,
|
||||
&MD5Data, &MD5File },
|
||||
@ -282,7 +282,7 @@ MDTimeTrial(Algorithm_t *alg)
|
||||
* Digests a reference suite of strings and prints the results.
|
||||
*/
|
||||
|
||||
const char *MDTestInput[MDTESTCOUNT] = {
|
||||
static const char *MDTestInput[MDTESTCOUNT] = {
|
||||
"",
|
||||
"a",
|
||||
"abc",
|
||||
|
Loading…
x
Reference in New Issue
Block a user