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_fcntl.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_fcntl.c')
| -rw-r--r-- | sys/compat/linux32/common/linux32_fcntl.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/sys/compat/linux32/common/linux32_fcntl.c b/sys/compat/linux32/common/linux32_fcntl.c index 7f17c36c2f4..14aa44ed55a 100644 --- a/sys/compat/linux32/common/linux32_fcntl.c +++ b/sys/compat/linux32/common/linux32_fcntl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_fcntl.c,v 1.2 2007/02/09 21:55:21 ad Exp $ */ +/* $NetBSD: linux32_fcntl.c,v 1.3 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_fcntl.c,v 1.2 2007/02/09 21:55:21 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_fcntl.c,v 1.3 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_fcntl.c,v 1.2 2007/02/09 21:55:21 ad Exp $") #include <compat/linux32/linux32_syscallargs.h> int -linux32_sys_open(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_open(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_open_args /* { syscallarg(const netbsd32_charp) path; @@ -90,10 +87,7 @@ linux32_sys_open(l, v, retval) } int -linux32_sys_fcntl64(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_fcntl64(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_fcntl64_args /* { syscallcarg(int) fd; @@ -110,10 +104,7 @@ linux32_sys_fcntl64(l, v, retval) } int -linux32_sys_fcntl(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux32_sys_fcntl(struct lwp *l, void *v, register_t *retval) { struct linux32_sys_fcntl_args /* { syscallcarg(int) fd; |
