Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2018 15:04:49 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r341467 - stable/11/sys/vm
Message-ID:  <201812041504.wB4F4nKs073542@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Tue Dec  4 15:04:48 2018
New Revision: 341467
URL: https://svnweb.freebsd.org/changeset/base/341467

Log:
  MFC r327860: ANSIfy function definitions in sys/vm/

Modified:
  stable/11/sys/vm/vm_glue.c
  stable/11/sys/vm/vm_unix.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/vm/vm_glue.c
==============================================================================
--- stable/11/sys/vm/vm_glue.c	Tue Dec  4 15:02:19 2018	(r341466)
+++ stable/11/sys/vm/vm_glue.c	Tue Dec  4 15:04:48 2018	(r341467)
@@ -111,9 +111,7 @@ __FBSDID("$FreeBSD$");
  * space.
  */
 int
-kernacc(addr, len, rw)
-	void *addr;
-	int len, rw;
+kernacc(void *addr, int len, int rw)
 {
 	boolean_t rv;
 	vm_offset_t saddr, eaddr;
@@ -145,9 +143,7 @@ kernacc(addr, len, rw)
  * used in conjunction with this call.
  */
 int
-useracc(addr, len, rw)
-	void *addr;
-	int len, rw;
+useracc(void *addr, int len, int rw)
 {
 	boolean_t rv;
 	vm_prot_t prot;
@@ -532,12 +528,8 @@ intr_prof_stack_use(struct thread *td, struct trapfram
  * to user mode to avoid stack copying and relocation problems.
  */
 int
-vm_forkproc(td, p2, td2, vm2, flags)
-	struct thread *td;
-	struct proc *p2;
-	struct thread *td2;
-	struct vmspace *vm2;
-	int flags;
+vm_forkproc(struct thread *td, struct proc *p2, struct thread *td2,
+    struct vmspace *vm2, int flags)
 {
 	struct proc *p1 = td->td_proc;
 	int error;

Modified: stable/11/sys/vm/vm_unix.c
==============================================================================
--- stable/11/sys/vm/vm_unix.c	Tue Dec  4 15:02:19 2018	(r341466)
+++ stable/11/sys/vm/vm_unix.c	Tue Dec  4 15:04:48 2018	(r341467)
@@ -71,9 +71,7 @@ struct obreak_args {
  */
 /* ARGSUSED */
 int
-sys_obreak(td, uap)
-	struct thread *td;
-	struct obreak_args *uap;
+sys_obreak(struct thread *td, struct obreak_args *uap)
 {
 	struct vmspace *vm = td->td_proc->p_vmspace;
 	vm_map_t map = &vm->vm_map;
@@ -245,9 +243,7 @@ struct ovadvise_args {
  */
 /* ARGSUSED */
 int
-sys_ovadvise(td, uap)
-	struct thread *td;
-	struct ovadvise_args *uap;
+sys_ovadvise(struct thread *td, struct ovadvise_args *uap)
 {
 	/* START_GIANT_OPTIONAL */
 	/* END_GIANT_OPTIONAL */



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