From owner-svn-src-all@FreeBSD.ORG Sat Mar 28 08:55:14 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C87DB154; Sat, 28 Mar 2015 08:55:14 +0000 (UTC) Received: from vlakno.cz (mail.vlakno.cz [91.217.96.224]) by mx1.freebsd.org (Postfix) with ESMTP id 8D2DD78B; Sat, 28 Mar 2015 08:55:13 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id 67F8D1D95AB9; Sat, 28 Mar 2015 09:54:25 +0100 (CET) Date: Sat, 28 Mar 2015 09:54:25 +0100 From: Roman Divacky To: Xin LI Subject: Re: svn commit: r280767 - head/sbin/md5 Message-ID: <20150328085425.GA99099@vlakno.cz> References: <201503271823.t2RIN7sX000292@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201503271823.t2RIN7sX000292@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 08:55:14 -0000 > 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?