growfs: ANSIfy cgckhash()

The build was broken on GCC-using architectures with:

growfs.c: In function 'cgckhash':
growfs.c:1753: warning: old-style function definition

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-10-10 21:16:07 +00:00
parent 63918d3848
commit 4887fa3635
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324507

View File

@ -1748,8 +1748,7 @@ mount_reload(const struct statfs *stfs)
* Calculate the check-hash of the cylinder group.
*/
static void
cgckhash(cgp)
struct cg *cgp;
cgckhash(struct cg *cgp)
{
if ((sblock.fs_metackhash & CK_CYLGRP) == 0)