svn commit: r355807 - head/sys/compat/linux
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Dec 16 17:45:16 UTC 2019
Author: trasz
Date: Mon Dec 16 17:45:15 2019
New Revision: 355807
URL: https://svnweb.freebsd.org/changeset/base/355807
Log:
Don't use K&R definitions. No functional changes.
Reported by: kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/compat/linux/linux_file.c
Modified: head/sys/compat/linux/linux_file.c
==============================================================================
--- head/sys/compat/linux/linux_file.c Mon Dec 16 16:41:24 2019 (r355806)
+++ head/sys/compat/linux/linux_file.c Mon Dec 16 17:45:15 2019 (r355807)
@@ -899,18 +899,14 @@ linux_linkat(struct thread *td, struct linux_linkat_ar
}
int
-linux_fdatasync(td, uap)
- struct thread *td;
- struct linux_fdatasync_args *uap;
+linux_fdatasync(struct thread *td, struct linux_fdatasync_args *uap)
{
return (kern_fsync(td, uap->fd, false));
}
int
-linux_sync_file_range(td, uap)
- struct thread *td;
- struct linux_sync_file_range_args *uap;
+linux_sync_file_range(struct thread *td, struct linux_sync_file_range_args *uap)
{
if (uap->offset < 0 || uap->nbytes < 0 ||
More information about the svn-src-all
mailing list