From 4887fa36354b4cdb0609d960bc1bc63d5bc68125 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 10 Oct 2017 21:16:07 +0000 Subject: [PATCH] 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 --- sbin/growfs/growfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c index 44fb39ba0948..2e8271b39d5d 100644 --- a/sbin/growfs/growfs.c +++ b/sbin/growfs/growfs.c @@ -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)