summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/common/linux32_stat.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/linux32/common/linux32_stat.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/linux32/common/linux32_stat.c')
-rw-r--r--sys/compat/linux32/common/linux32_stat.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/compat/linux32/common/linux32_stat.c b/sys/compat/linux32/common/linux32_stat.c
index db7307f31d6..6912c23e9ae 100644
--- a/sys/compat/linux32/common/linux32_stat.c
+++ b/sys/compat/linux32/common/linux32_stat.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_stat.c,v 1.8 2007/04/22 08:29:57 dsl Exp $ */
+/* $NetBSD: linux32_stat.c,v 1.9 2007/12/08 18:36:12 dsl Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_stat.c,v 1.8 2007/04/22 08:29:57 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_stat.c,v 1.9 2007/12/08 18:36:12 dsl Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -76,9 +76,7 @@ static inline void linux32_from_stat(struct stat *, struct linux32_stat64 *);
#define linux_fakedev(x,y) (x)
static inline void
-linux32_from_stat(st, st32)
- struct stat *st;
- struct linux32_stat64 *st32;
+linux32_from_stat(struct stat *st, struct linux32_stat64 *st32)
{
bzero(st32, sizeof(*st32));
st32->lst_dev = linux_fakedev(st->st_dev, 0);