svn commit: r333664 - in head/usr.sbin/makefs: cd9660 ffs

Ed Maste emaste at FreeBSD.org
Wed May 16 02:58:07 UTC 2018


Author: emaste
Date: Wed May 16 02:58:05 2018
New Revision: 333664
URL: https://svnweb.freebsd.org/changeset/base/333664

Log:
  makefs: ANSIfy

Modified:
  head/usr.sbin/makefs/cd9660/cd9660_debug.c
  head/usr.sbin/makefs/ffs/ffs_subr.c

Modified: head/usr.sbin/makefs/cd9660/cd9660_debug.c
==============================================================================
--- head/usr.sbin/makefs/cd9660/cd9660_debug.c	Wed May 16 02:51:30 2018	(r333663)
+++ head/usr.sbin/makefs/cd9660/cd9660_debug.c	Wed May 16 02:58:05 2018	(r333664)
@@ -59,8 +59,7 @@ print_n_tabs(int n)
 
 #if 0
 void
-debug_print_rrip_info(n)
-cd9660node *n;
+debug_print_rrip_info(cd9660node *n)
 {
 	struct ISO_SUSP_ATTRIBUTES *t;
 	TAILQ_FOREACH(t, &node->head, rr_ll) {

Modified: head/usr.sbin/makefs/ffs/ffs_subr.c
==============================================================================
--- head/usr.sbin/makefs/ffs/ffs_subr.c	Wed May 16 02:51:30 2018	(r333663)
+++ head/usr.sbin/makefs/ffs/ffs_subr.c	Wed May 16 02:58:05 2018	(r333664)
@@ -85,10 +85,7 @@ ffs_fragacct_swap(struct fs *fs, int fragmap, int32_t 
  *  returns false if any corresponding bit in the free map is 0
  */
 int
-ffs_isblock(fs, cp, h)
-	struct fs *fs;
-	u_char *cp;
-	int32_t h;
+ffs_isblock(struct fs *fs, u_char *cp, int32_t h)
 {
 	u_char mask;
 
@@ -116,10 +113,7 @@ ffs_isblock(fs, cp, h)
  *  returns false if any corresponding bit in the free map is 1
  */
 int
-ffs_isfreeblock(fs, cp, h)
-	struct fs *fs;
-	u_char *cp;
-	int32_t h;
+ffs_isfreeblock(struct fs *fs, u_char *cp, int32_t h)
 {
 
 	switch ((int)fs->fs_fragshift) {
@@ -141,10 +135,7 @@ ffs_isfreeblock(fs, cp, h)
  * take a block out of the map
  */
 void
-ffs_clrblock(fs, cp, h)
-	struct fs *fs;
-	u_char *cp;
-	int32_t h;
+ffs_clrblock(struct fs *fs, u_char *cp, int32_t h)
 {
 
 	switch ((int)fs->fs_fragshift) {
@@ -170,10 +161,7 @@ ffs_clrblock(fs, cp, h)
  * put a block into the map
  */
 void
-ffs_setblock(fs, cp, h)
-	struct fs *fs;
-	u_char *cp;
-	int32_t h;
+ffs_setblock(struct fs *fs, u_char *cp, int32_t h)
 {
 
 	switch ((int)fs->fs_fragshift) {


More information about the svn-src-all mailing list