Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2019 17:45:16 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355807 - head/sys/compat/linux
Message-ID:  <201912161745.xBGHjG9E061408@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ||



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912161745.xBGHjG9E061408>