svn commit: r324507 - head/sbin/growfs

Ed Maste emaste at FreeBSD.org
Tue Oct 10 21:16:09 UTC 2017


Author: emaste
Date: Tue Oct 10 21:16:07 2017
New Revision: 324507
URL: https://svnweb.freebsd.org/changeset/base/324507

Log:
  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

Modified:
  head/sbin/growfs/growfs.c

Modified: head/sbin/growfs/growfs.c
==============================================================================
--- head/sbin/growfs/growfs.c	Tue Oct 10 21:05:40 2017	(r324506)
+++ head/sbin/growfs/growfs.c	Tue Oct 10 21:16:07 2017	(r324507)
@@ -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)


More information about the svn-src-all mailing list