From owner-svn-src-all@FreeBSD.ORG Fri Jun 11 18:26:54 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 026651065678; Fri, 11 Jun 2010 18:26:54 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E6B1A8FC14; Fri, 11 Jun 2010 18:26:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5BIQrxU054322; Fri, 11 Jun 2010 18:26:53 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5BIQrj1054320; Fri, 11 Jun 2010 18:26:53 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201006111826.o5BIQrj1054320@svn.freebsd.org> From: Andriy Gapon Date: Fri, 11 Jun 2010 18:26:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209057 - head/sys/ufs/ffs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 18:26:54 -0000 Author: avg Date: Fri Jun 11 18:26:53 2010 New Revision: 209057 URL: http://svn.freebsd.org/changeset/base/209057 Log: ffs_softdep: change K&R in function defintions to ANSI prototypes Apparently it's bad when we first have an ANSI prototype in function declaration, but then use K&R in its defintion. Complaint from: clang MFC after: 2 weeks Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c ============================================================================== --- head/sys/ufs/ffs/ffs_softdep.c Fri Jun 11 18:20:56 2010 (r209056) +++ head/sys/ufs/ffs/ffs_softdep.c Fri Jun 11 18:26:53 2010 (r209057) @@ -3251,12 +3251,8 @@ newjmvref(dp, ino, oldoff, newoff) * the jsegdep when we're done. */ static struct jremref * -newjremref(dirrem, dp, ip, diroff, nlink) - struct dirrem *dirrem; - struct inode *dp; - struct inode *ip; - off_t diroff; - nlink_t nlink; +newjremref(struct dirrem *dirrem, struct inode *dp, struct inode *ip, + off_t diroff, nlink_t nlink) { struct jremref *jremref; @@ -3271,13 +3267,8 @@ newjremref(dirrem, dp, ip, diroff, nlink } static inline void -newinoref(inoref, ino, parent, diroff, nlink, mode) - struct inoref *inoref; - ino_t ino; - ino_t parent; - off_t diroff; - nlink_t nlink; - uint16_t mode; +newinoref(struct inoref *inoref, ino_t ino, ino_t parent, off_t diroff, + nlink_t nlink, uint16_t mode) { inoref->if_jsegdep = newjsegdep(&inoref->if_list); @@ -3296,12 +3287,8 @@ newinoref(inoref, ino, parent, diroff, n * to have the correct FMT. */ static struct jaddref * -newjaddref(dp, ino, diroff, nlink, mode) - struct inode *dp; - ino_t ino; - off_t diroff; - int16_t nlink; - uint16_t mode; +newjaddref(struct inode *dp, ino_t ino, off_t diroff, int16_t nlink, + uint16_t mode) { struct jaddref *jaddref;