aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/growfs
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-10-10 21:16:07 +0000
committerEd Maste <emaste@FreeBSD.org>2017-10-10 21:16:07 +0000
commit4887fa36354b4cdb0609d960bc1bc63d5bc68125 (patch)
tree0ee6aa8039c4c3e1493b4d0995bd70e46f21a9dd /sbin/growfs
parent63918d384862a07aaff3cd773b8194ddc2390c3a (diff)
downloadsrc-4887fa36354b4cdb0609d960bc1bc63d5bc68125.tar.gz
src-4887fa36354b4cdb0609d960bc1bc63d5bc68125.zip
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
Notes
Notes: svn path=/head/; revision=324507
Diffstat (limited to 'sbin/growfs')
-rw-r--r--sbin/growfs/growfs.c3
1 files changed, 1 insertions, 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)