summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_getcwd.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/compat/linux/linux_getcwd.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/compat/linux/linux_getcwd.c')
-rw-r--r--sys/compat/linux/linux_getcwd.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/compat/linux/linux_getcwd.c b/sys/compat/linux/linux_getcwd.c
index 93a032df3e9..1f799433c4e 100644
--- a/sys/compat/linux/linux_getcwd.c
+++ b/sys/compat/linux/linux_getcwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_getcwd.c,v 1.2 2001/05/16 12:50:21 ho Exp $ */
+/* $OpenBSD: linux_getcwd.c,v 1.3 2002/03/14 01:26:50 millert Exp $ */
/* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */
/*-
@@ -47,7 +47,7 @@
#include <sys/vnode.h>
#include <sys/mount.h>
#include <sys/proc.h>
-int proc_isunder __P((struct proc *, struct proc*)); /* missing from proc.h */
+int proc_isunder(struct proc *, struct proc*); /* missing from proc.h */
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/dirent.h>
@@ -63,17 +63,17 @@ int proc_isunder __P((struct proc *, struct proc*)); /* missing from proc.h */
#include <machine/linux_machdep.h>
static int
-linux_getcwd_scandir __P((struct vnode **, struct vnode **,
- char **, char *, struct proc *));
+linux_getcwd_scandir(struct vnode **, struct vnode **,
+ char **, char *, struct proc *);
static int
-linux_getcwd_getcache __P((struct vnode **, struct vnode **,
- char **, char *));
+linux_getcwd_getcache(struct vnode **, struct vnode **,
+ char **, char *);
static int
-linux_getcwd_common __P((struct vnode *, struct vnode *,
- char **, char *, int, int, struct proc *));
+linux_getcwd_common(struct vnode *, struct vnode *,
+ char **, char *, int, int, struct proc *);
static int
-linux_vn_isunder __P((struct vnode *, struct vnode *, struct proc *));
+linux_vn_isunder(struct vnode *, struct vnode *, struct proc *);
#define DIRENT_MINSIZE (sizeof(struct dirent) - (MAXNAMLEN+1) + 4)