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:
emaste 2017-10-10 21:16:07 +00:00
parent e28755e64d
commit 43e60343d4

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)