diff options
author | delphij <delphij@FreeBSD.org> | 2015-03-27 18:23:06 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-03-27 18:23:06 +0000 |
commit | 5538403b83287b77df17625e7edee45b80cfbc4b (patch) | |
tree | 4deda8e0e980ef8c1c549b17f5a70f2ead21baa3 /sbin | |
parent | 430d8603fc1ad5f0e6b194b789e2736179af77a9 (diff) | |
download | FreeBSD-src-5538403b83287b77df17625e7edee45b80cfbc4b.zip FreeBSD-src-5538403b83287b77df17625e7edee45b80cfbc4b.tar.gz |
Fix remaining warnings.
MFC after: 2 weeks
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/md5/Makefile | 3 | ||||
-rw-r--r-- | sbin/md5/md5.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sbin/md5/Makefile b/sbin/md5/Makefile index a16d460..b6afe4e 100644 --- a/sbin/md5/Makefile +++ b/sbin/md5/Makefile @@ -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> diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c index 0c03c52..d7de5c0 100644 --- a/sbin/md5/md5.c +++ b/sbin/md5/md5.c @@ -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", |