git: 85d4483d5ead - main - ufs: ansify

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 18:36:02 UTC
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=85d4483d5ead1c94acfce44d3bfd03236536f9b9

commit 85d4483d5ead1c94acfce44d3bfd03236536f9b9
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-02-13 18:35:54 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-02-13 18:35:54 +0000

    ufs: ansify
    
    Reviewed by:
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:
---
 sys/ufs/ufs/ufs_acl.c | 27 +++------------------------
 1 file changed, 3 insertions(+), 24 deletions(-)

diff --git a/sys/ufs/ufs/ufs_acl.c b/sys/ufs/ufs/ufs_acl.c
index c05fade2d645..112cbf5f3018 100644
--- a/sys/ufs/ufs/ufs_acl.c
+++ b/sys/ufs/ufs/ufs_acl.c
@@ -354,14 +354,7 @@ ufs_getacl_posix1e(struct vop_getacl_args *ap)
 }
 
 int
-ufs_getacl(ap)
-	struct vop_getacl_args /* {
-		struct vnode *vp;
-		acl_type_t type;
-		struct acl *aclp;
-		struct ucred *cred;
-		struct thread *td;
-	} */ *ap;
+ufs_getacl(struct vop_getacl_args *ap)
 {
 
 	if ((ap->a_vp->v_mount->mnt_flag & (MNT_ACLS | MNT_NFS4ACLS)) == 0)
@@ -606,14 +599,7 @@ ufs_setacl_posix1e(struct vop_setacl_args *ap)
 }
 
 int
-ufs_setacl(ap)
-	struct vop_setacl_args /* {
-		struct vnode *vp;
-		acl_type_t type;
-		struct acl *aclp;
-		struct ucred *cred;
-		struct thread *td;
-	} */ *ap;
+ufs_setacl(struct vop_setacl_args *ap)
 {
 	if ((ap->a_vp->v_mount->mnt_flag & (MNT_ACLS | MNT_NFS4ACLS)) == 0)
 		return (EOPNOTSUPP);
@@ -681,14 +667,7 @@ ufs_aclcheck_posix1e(struct vop_aclcheck_args *ap)
  * Check the validity of an ACL for a file.
  */
 int
-ufs_aclcheck(ap)
-	struct vop_aclcheck_args /* {
-		struct vnode *vp;
-		acl_type_t type;
-		struct acl *aclp;
-		struct ucred *cred;
-		struct thread *td;
-	} */ *ap;
+ufs_aclcheck(struct vop_aclcheck_args *ap)
 {
 
 	if ((ap->a_vp->v_mount->mnt_flag & (MNT_ACLS | MNT_NFS4ACLS)) == 0)