svn commit: r256501 - head/sys/fs/devfs
Konstantin Belousov
kib at FreeBSD.org
Tue Oct 15 06:28:11 UTC 2013
Author: kib
Date: Tue Oct 15 06:28:11 2013
New Revision: 256501
URL: http://svnweb.freebsd.org/changeset/base/256501
Log:
Remove two instances of ARGSUSED comment, and wrap lines nearby the
code that is to be changed.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/fs/devfs/devfs_vnops.c
Modified: head/sys/fs/devfs/devfs_vnops.c
==============================================================================
--- head/sys/fs/devfs/devfs_vnops.c Tue Oct 15 06:23:54 2013 (r256500)
+++ head/sys/fs/devfs/devfs_vnops.c Tue Oct 15 06:28:11 2013 (r256501)
@@ -1168,9 +1168,9 @@ devfs_print(struct vop_print_args *ap)
return (0);
}
-/* ARGSUSED */
static int
-devfs_read_f(struct file *fp, struct uio *uio, struct ucred *cred, int flags, struct thread *td)
+devfs_read_f(struct file *fp, struct uio *uio, struct ucred *cred,
+ int flags, struct thread *td)
{
struct cdev *dev;
int ioflag, error, ref;
@@ -1643,9 +1643,9 @@ devfs_truncate_f(struct file *fp, off_t
return (vnops.fo_truncate(fp, length, cred, td));
}
-/* ARGSUSED */
static int
-devfs_write_f(struct file *fp, struct uio *uio, struct ucred *cred, int flags, struct thread *td)
+devfs_write_f(struct file *fp, struct uio *uio, struct ucred *cred,
+ int flags, struct thread *td)
{
struct cdev *dev;
int error, ioflag, ref;
More information about the svn-src-all
mailing list