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_mman.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_mman.c')
| -rw-r--r-- | sys/compat/linux32/common/linux32_mman.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/sys/compat/linux32/common/linux32_mman.c b/sys/compat/linux32/common/linux32_mman.c index 686a2698063..e49a29ad196 100644 --- a/sys/compat/linux32/common/linux32_mman.c +++ b/sys/compat/linux32/common/linux32_mman.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_mman.c,v 1.4 2007/10/31 09:16:55 njoly Exp $ */ +/* $NetBSD: linux32_mman.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_mman.c,v 1.4 2007/10/31 09:16:55 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_mman.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_mman.c,v 1.4 2007/10/31 09:16:55 njoly Exp $ #include <compat/linux32/linux32_syscallargs.h> int -linux32_sys_old_mmap(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_old_mmap(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_old_mmap_args /* { syscallarg(linux32_oldmmapp) lmp; @@ -104,10 +101,7 @@ linux32_sys_mprotect(l, v, retval) } int -linux32_sys_mremap(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_mremap(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_mremap_args /* { syscallarg(netbsd32_voidp) old_address; @@ -126,10 +120,7 @@ linux32_sys_mremap(l, v, retval) } int -linux32_sys_mmap2(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_mmap2(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_mmap2_args /* { syscallarg(netbsd32_u_long) addr; |
