diff options
| author | dsl <dsl@NetBSD.org> | 2007-12-08 18:35:53 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2007-12-08 18:35:53 +0000 |
| commit | 28bae79b2713013fa5c98bdd7a8bdde85ccc3ffd (patch) | |
| tree | e96dcadb2e523d907f659aa130436e909e7bfd97 /sys/compat/linux32/common/linux32_sched.c | |
| parent | c26a54ba243a5ba3a847aeba86fe44f2e4a86203 (diff) | |
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Diffstat (limited to 'sys/compat/linux32/common/linux32_sched.c')
| -rw-r--r-- | sys/compat/linux32/common/linux32_sched.c | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/sys/compat/linux32/common/linux32_sched.c b/sys/compat/linux32/common/linux32_sched.c index fd5f91b1717..46a5b9ab1d0 100644 --- a/sys/compat/linux32/common/linux32_sched.c +++ b/sys/compat/linux32/common/linux32_sched.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_sched.c,v 1.4 2007/11/07 00:24:31 njoly Exp $ */ +/* $NetBSD: linux32_sched.c,v 1.5 2007/12/08 18:36:11 dsl Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -33,7 +33,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sched.c,v 1.4 2007/11/07 00:24:31 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sched.c,v 1.5 2007/12/08 18:36:11 dsl Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -70,10 +70,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux32_sched.c,v 1.4 2007/11/07 00:24:31 njoly Exp #include <compat/linux32/linux32_syscallargs.h> int -linux32_sys_clone(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_clone(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_clone_args /* { syscallarg(int) flags; @@ -92,10 +89,7 @@ linux32_sys_clone(l, v, retval) } int -linux32_sys_sched_getscheduler(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_sched_getscheduler(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_sched_getscheduler_args /* { syscallarg(pid_t) pid; @@ -108,10 +102,7 @@ linux32_sys_sched_getscheduler(l, v, retval) } int -linux32_sys_sched_setscheduler(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_sched_setscheduler(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_sched_setscheduler_args /* { syscallarg(int) pid; @@ -128,10 +119,7 @@ linux32_sys_sched_setscheduler(l, v, retval) } int -linux32_sys_sched_getparam(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_sched_getparam(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_sched_getparam_args /* { syscallarg(pid_t) pid; @@ -146,10 +134,7 @@ linux32_sys_sched_getparam(l, v, retval) } int -linux32_sys_exit_group(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_exit_group(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_exit_group_args /* { syscallarg(int) error_code; |
