Author: emaste
Date: Fri Jan 12 03:50:44 2018
New Revision: 327860
URL: https://svnweb.freebsd.org/changeset/base/327860

Log:
  ANSIfy function definitions in sys/vm/

Modified:
  head/sys/vm/vm_glue.c
  head/sys/vm/vm_unix.c

Modified: head/sys/vm/vm_glue.c
==============================================================================
--- head/sys/vm/vm_glue.c       Fri Jan 12 02:49:18 2018        (r327859)
+++ head/sys/vm/vm_glue.c       Fri Jan 12 03:50:44 2018        (r327860)
@@ -113,9 +113,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;
@@ -147,9 +145,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;
@@ -527,12 +523,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: head/sys/vm/vm_unix.c
==============================================================================
--- head/sys/vm/vm_unix.c       Fri Jan 12 02:49:18 2018        (r327859)
+++ head/sys/vm/vm_unix.c       Fri Jan 12 03:50:44 2018        (r327860)
@@ -73,9 +73,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;
@@ -247,9 +245,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 */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to