svn commit: r280767 - head/sbin/md5

Roman Divacky rdivacky at freebsd.org
Sat Mar 28 08:55:14 UTC 2015


> 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.
>   */

Can this be static const?


More information about the svn-src-head mailing list