From a5eee0f175a227a79e93c57b950864cdbc0e13fa Mon Sep 17 00:00:00 2001 From: Paul Irofti Date: Mon, 4 Apr 2011 23:24:59 +0000 Subject: Fix function argument list -- 1989 is long gone! --- sys/compat/linux/linux_sched.c | 42 +++++++++--------------------------------- 1 file changed, 9 insertions(+), 33 deletions(-) (limited to 'sys/compat') diff --git a/sys/compat/linux/linux_sched.c b/sys/compat/linux/linux_sched.c index 7500d978231..6eda8123e60 100644 --- a/sys/compat/linux/linux_sched.c +++ b/sys/compat/linux/linux_sched.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_sched.c,v 1.8 2010/01/04 19:27:21 guenther Exp $ */ +/* $OpenBSD: linux_sched.c,v 1.9 2011/04/04 23:24:58 pirofti Exp $ */ /* $NetBSD: linux_sched.c,v 1.6 2000/05/28 05:49:05 thorpej Exp $ */ /*- @@ -50,10 +50,7 @@ #include int -linux_sys_clone(p, v, retval) - struct proc *p; - void *v; - register_t *retval; +linux_sys_clone(struct proc *p, void *v, register_t *retval) { struct linux_sys_clone_args /* { syscallarg(int) flags; @@ -151,10 +148,7 @@ linux_sys_clone(p, v, retval) } int -linux_sys_sched_setparam(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_setparam(struct proc *cp, void *v, register_t *retval) { struct linux_sys_sched_setparam_args /* { syscallarg(linux_pid_t) pid; @@ -193,10 +187,7 @@ linux_sys_sched_setparam(cp, v, retval) } int -linux_sys_sched_getparam(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_getparam(struct proc *cp, void *v, register_t *retval) { struct linux_sys_sched_getparam_args /* { syscallarg(linux_pid_t) pid; @@ -231,10 +222,7 @@ linux_sys_sched_getparam(cp, v, retval) } int -linux_sys_sched_setscheduler(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_setscheduler(struct proc *cp, void *v, register_t *retval) { struct linux_sys_sched_setscheduler_args /* { syscallarg(linux_pid_t) pid; @@ -280,10 +268,7 @@ linux_sys_sched_setscheduler(cp, v, retval) } int -linux_sys_sched_getscheduler(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_getscheduler(struct proc *cp, void *v, register_t *retval) { struct linux_sys_sched_getscheduler_args /* { syscallarg(linux_pid_t) pid; @@ -318,20 +303,14 @@ linux_sys_sched_getscheduler(cp, v, retval) } int -linux_sys_sched_yield(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_yield(struct proc *cp, void *v, register_t *retval) { need_resched(curcpu()); return (0); } int -linux_sys_sched_get_priority_max(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_get_priority_max(struct proc *cp, void *v, register_t *retval) { struct linux_sys_sched_get_priority_max_args /* { syscallarg(int) policy; @@ -350,10 +329,7 @@ linux_sys_sched_get_priority_max(cp, v, retval) } int -linux_sys_sched_get_priority_min(cp, v, retval) - struct proc *cp; - void *v; - register_t *retval; +linux_sys_sched_get_priority_min(struct proc *cp, void *v, register_t *retval) { struct linux_sys_sched_get_priority_min_args /* { syscallarg(int) policy; -- cgit v1.2.3