Fix remaining warnings.

MFC after:	2 weeks
This commit is contained in:
Xin LI 2015-03-27 18:23:06 +00:00
parent cd9142c718
commit 11500c4eaa
2 changed files with 2 additions and 5 deletions

View File

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

View File

@ -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",