From owner-svn-src-head@freebsd.org Wed May 16 02:58:07 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31E4EEE9F0B; Wed, 16 May 2018 02:58:07 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCBA173025; Wed, 16 May 2018 02:58:06 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E835146A2; Wed, 16 May 2018 02:58:06 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4G2w6Wh075749; Wed, 16 May 2018 02:58:06 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4G2w6q7075747; Wed, 16 May 2018 02:58:06 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201805160258.w4G2w6q7075747@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Wed, 16 May 2018 02:58:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333664 - in head/usr.sbin/makefs: cd9660 ffs X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: in head/usr.sbin/makefs: cd9660 ffs X-SVN-Commit-Revision: 333664 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2018 02:58:07 -0000 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) {