summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_misc_notalpha.c
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2007-12-08 18:35:53 +0000
committerdsl <dsl@NetBSD.org>2007-12-08 18:35:53 +0000
commit28bae79b2713013fa5c98bdd7a8bdde85ccc3ffd (patch)
treee96dcadb2e523d907f659aa130436e909e7bfd97 /sys/compat/linux/common/linux_misc_notalpha.c
parentc26a54ba243a5ba3a847aeba86fe44f2e4a86203 (diff)
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
Diffstat (limited to 'sys/compat/linux/common/linux_misc_notalpha.c')
-rw-r--r--sys/compat/linux/common/linux_misc_notalpha.c43
1 files changed, 10 insertions, 33 deletions
diff --git a/sys/compat/linux/common/linux_misc_notalpha.c b/sys/compat/linux/common/linux_misc_notalpha.c
index 8715cdb875f..03d6ae82d8a 100644
--- a/sys/compat/linux/common/linux_misc_notalpha.c
+++ b/sys/compat/linux/common/linux_misc_notalpha.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc_notalpha.c,v 1.97 2007/11/25 00:35:26 elad Exp $ */
+/* $NetBSD: linux_misc_notalpha.c,v 1.98 2007/12/08 18:36:08 dsl Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.97 2007/11/25 00:35:26 elad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.98 2007/12/08 18:36:08 dsl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -96,10 +96,7 @@ static void bsd_to_linux_statfs64(const struct statvfs *,
* Fiddle with the timers to make it work.
*/
int
-linux_sys_alarm(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_alarm(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_alarm_args /* {
syscallarg(unsigned int) secs;
@@ -190,10 +187,7 @@ linux_sys_alarm(l, v, retval)
#if !defined(__amd64__)
int
-linux_sys_nice(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_nice(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_nice_args /* {
syscallarg(int) incr;
@@ -219,10 +213,7 @@ linux_sys_nice(l, v, retval)
* really is the reclen, not the namelength.
*/
int
-linux_sys_readdir(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_readdir(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_readdir_args /* {
syscallarg(int) fd;
@@ -264,10 +255,7 @@ linux_sys_time(struct lwp *l, void *v, register_t *retval)
* and pass it on.
*/
int
-linux_sys_utime(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_utime(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_utime_args /* {
syscallarg(const char *) path;
@@ -296,10 +284,7 @@ linux_sys_utime(l, v, retval)
* waitpid(2). Just forward on to linux_sys_wait4 with a NULL rusage.
*/
int
-linux_sys_waitpid(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_waitpid(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_waitpid_args /* {
syscallarg(int) pid;
@@ -406,9 +391,7 @@ linux_sys_stime(struct lwp *l, void *v, register_t *retval)
* statvfs() doesn't use statfs64().
*/
static void
-bsd_to_linux_statfs64(bsp, lsp)
- const struct statvfs *bsp;
- struct linux_statfs64 *lsp;
+bsd_to_linux_statfs64(const struct statvfs *bsp, struct linux_statfs64 *lsp)
{
int i, div;
@@ -446,10 +429,7 @@ bsd_to_linux_statfs64(bsp, lsp)
* Implement the fs stat functions. Straightforward.
*/
int
-linux_sys_statfs64(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_statfs64(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_statfs64_args /* {
syscallarg(const char *) path;
@@ -474,10 +454,7 @@ linux_sys_statfs64(l, v, retval)
}
int
-linux_sys_fstatfs64(l, v, retval)
- struct lwp *l;
- void *v;
- register_t *retval;
+linux_sys_fstatfs64(struct lwp *l, void *v, register_t *retval)
{
struct linux_sys_fstatfs64_args /* {
syscallarg(int) fd;