svn commit: r280767 - head/sbin/md5
Xin LI
delphij at FreeBSD.org
Fri Mar 27 18:23:08 UTC 2015
Author: delphij
Date: Fri Mar 27 18:23:06 2015
New Revision: 280767
URL: https://svnweb.freebsd.org/changeset/base/280767
Log:
Fix remaining warnings.
MFC after: 2 weeks
Modified:
head/sbin/md5/Makefile
head/sbin/md5/md5.c
Modified: head/sbin/md5/Makefile
==============================================================================
--- head/sbin/md5/Makefile Fri Mar 27 17:36:22 2015 (r280766)
+++ head/sbin/md5/Makefile Fri Mar 27 18:23:06 2015 (r280767)
@@ -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>
Modified: head/sbin/md5/md5.c
==============================================================================
--- head/sbin/md5/md5.c Fri Mar 27 17:36:22 2015 (r280766)
+++ head/sbin/md5/md5.c Fri Mar 27 18:23:06 2015 (r280767)
@@ -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",
More information about the svn-src-all
mailing list