From nobody Tue Feb 07 23:19:09 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBJws5Sjbz3nrDM; Tue, 7 Feb 2023 23:19:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBJws42spz3r33; Tue, 7 Feb 2023 23:19:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675811949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SAvGEZOcdlzfWho5geIvARC5sUqXsIm2dIM3EnLlof4=; b=RpKApRpydNYi2Mijw+Z7Xs2fSBOu3hykB97dWkxXs37vAmXlHW3D3fJTi10ceO2RGa8tyP /BFH3MGnkg15UKZeigWVJF22D4m2GRi2O3FyBMeRa+pmzPWENY169pt8/7psL9zFUuJJEk 1Nq1AKIriLZn3b+fxMjwiblFY5wp9RGWkFw26VWIgv2BStwoCZO3EGzZqVvJU6aagi1+1d aoF87qNapZhRKLWG1dRLcd2Rlh/SpCTeNg1yOUjW3sS/fsbka93Lm2D3OQ2dfx+9e0Y9pF q0LljjC5YPJ4urW1lk3XYjM3I+StB10pTrbzzI1DsAOuizsmqneFAj+IWlRIAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675811949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SAvGEZOcdlzfWho5geIvARC5sUqXsIm2dIM3EnLlof4=; b=cUKh7hqf37Qff2bGzvzKgfYnO1Fdb6lxLHSXZ6HwckSxKa5VpdY+9dYmAJ7AEH+greK+l7 0kK6TvaQg6hHQXE1ZQO3zy2Fg9YEPOIiA/uk7fij7b17Wa5XCk/aEX/C4Kh180lPXTvKM/ EjQHwI987StdjHHMf6sKMk/7eep+FJJkqXG0hwxjoSeIJalBgLCGz0JIvQ/QGCYcUpNoYQ gd65S1O2sY8b2sB2dfu0+Ant7pWBA4VcAC8CBCyxJHsTPMl9RLo3JQwz0QYGKMvUXdqSCT jLHFB+roEN3pSikX6oNEdbJ2jBRFMk1/lOy2uTDKIlAj0jWlcUDJNYDvhtQQug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675811949; a=rsa-sha256; cv=none; b=cY+30nE0lPL4O5cSr6r89+k8m/HDwMLQNHJExLOqj5SNkX2NPzqK/g+kB770aa+vm5dqGu FPiJ26Txdt4Eabay76A7Py7zvZ8/15kZhDRt9aMJMHiT8zwjG0bqnA4nqBl11qkd/ILqQx 2eVhC+hqyF8UpPuJoCDpOmr3eYnWoTUV8zHqXBGuq8RdonHkkJFws613KpkcySifMn0NkI KobPp5yZndBJ2UwV5nzIYko4BsaimWC3Y4anr0R61GsaPqDgBtOyHwZ34BT8HuaH/GJ0/M Z8qaUDgy+x6f/wEYAlf6QgRymFQ8s4OxRcTIo/BznEGepaY2ruYImTTPhYQxdg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PBJws34TnzZmQ; Tue, 7 Feb 2023 23:19:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 317NJ9Ev095775; Tue, 7 Feb 2023 23:19:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 317NJ9LO095774; Tue, 7 Feb 2023 23:19:09 GMT (envelope-from git) Date: Tue, 7 Feb 2023 23:19:09 GMT Message-Id: <202302072319.317NJ9LO095774@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: ed40bc50dff0 - main - fifofs: ansify List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed40bc50dff06219baa251f1d238249624cb74ec Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ed40bc50dff06219baa251f1d238249624cb74ec commit ed40bc50dff06219baa251f1d238249624cb74ec Author: Mateusz Guzik AuthorDate: 2023-02-07 23:18:51 +0000 Commit: Mateusz Guzik CommitDate: 2023-02-07 23:18:51 +0000 fifofs: ansify Reported by: clang 15 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/fs/fifofs/fifo_vnops.c | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index d9dc8eee8e60..8a567205db0b 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -126,14 +126,7 @@ fifo_cleanup(struct vnode *vp) */ /* ARGSUSED */ static int -fifo_open(ap) - struct vop_open_args /* { - struct vnode *a_vp; - int a_mode; - struct ucred *a_cred; - struct thread *a_td; - struct file *a_fp; - } */ *ap; +fifo_open(struct vop_open_args *ap) { struct vnode *vp; struct file *fp; @@ -268,13 +261,7 @@ fifo_open(ap) */ /* ARGSUSED */ static int -fifo_close(ap) - struct vop_close_args /* { - struct vnode *a_vp; - int a_fflag; - struct ucred *a_cred; - struct thread *a_td; - } */ *ap; +fifo_close(struct vop_close_args *ap) { struct vnode *vp; struct fifoinfo *fip; @@ -331,8 +318,7 @@ fifo_close(ap) * Print out internal contents of a fifo vnode. */ int -fifo_printinfo(vp) - struct vnode *vp; +fifo_printinfo(struct vnode *vp) { struct fifoinfo *fip = vp->v_fifoinfo; @@ -349,10 +335,7 @@ fifo_printinfo(vp) * Print out the contents of a fifo vnode. */ static int -fifo_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; +fifo_print(struct vop_print_args *ap) { printf(" "); fifo_printinfo(ap->a_vp); @@ -365,14 +348,7 @@ fifo_print(ap) */ /* ARGSUSED */ static int -fifo_advlock(ap) - struct vop_advlock_args /* { - struct vnode *a_vp; - caddr_t a_id; - int a_op; - struct flock *a_fl; - int a_flags; - } */ *ap; +fifo_advlock(struct vop_advlock_args *ap) { if ((ap->a_flags & F_FLOCK) == 0)