ANSIfy function definitions in sys/vm/

This commit is contained in:
Ed Maste 2018-01-12 03:50:44 +00:00
parent 2e07e232a2
commit d03890153d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327860
2 changed files with 6 additions and 18 deletions

View File

@ -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 trapframe *frame)
* 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;

View File

@ -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 */