Don't use K&R definitions. No functional changes.

Reported by:	kib
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2019-12-16 17:45:15 +00:00
parent 5a7a578be9
commit 518cce0274
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355807

View File

@ -899,18 +899,14 @@ linux_linkat(struct thread *td, struct linux_linkat_args *args)
}
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 ||