diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 22:20:14 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 22:20:14 +0000 |
commit | 1446d094292532062a83b8dc4587f9b62a6120df (patch) | |
tree | cf7078f9ddebb58cb7cd55dcd736f1f25c75ac7f /sys/fs/fdescfs | |
parent | c147e70b997febc0da8565eecf0dabede1ba5f88 (diff) | |
download | FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.zip FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.tar.gz |
Remove __P.
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc.h | 8 | ||||
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 12 | ||||
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 18 |
3 files changed, 19 insertions, 19 deletions
diff --git a/sys/fs/fdescfs/fdesc.h b/sys/fs/fdescfs/fdesc.h index f90ea8d..b7dc490 100644 --- a/sys/fs/fdescfs/fdesc.h +++ b/sys/fs/fdescfs/fdesc.h @@ -62,8 +62,8 @@ struct fdescnode { #define VFSTOFDESC(mp) ((struct fdescmount *)((mp)->mnt_data)) #define VTOFDESC(vp) ((struct fdescnode *)(vp)->v_data) -extern int fdesc_init __P((struct vfsconf *)); -extern int fdesc_root __P((struct mount *, struct vnode **)); -extern int fdesc_allocvp __P((fdntype, int, struct mount *, struct vnode **, - struct thread *)); +extern int fdesc_init(struct vfsconf *); +extern int fdesc_root(struct mount *, struct vnode **); +extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **, + struct thread *); #endif /* _KERNEL */ diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index 329eab9..de4fa4d 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -58,12 +58,12 @@ static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); -static int fdesc_mount __P((struct mount *mp, char *path, caddr_t data, - struct nameidata *ndp, struct thread *td)); -static int fdesc_unmount __P((struct mount *mp, int mntflags, - struct thread *td)); -static int fdesc_statfs __P((struct mount *mp, struct statfs *sbp, - struct thread *td)); +static int fdesc_mount(struct mount *mp, char *path, caddr_t data, + struct nameidata *ndp, struct thread *td); +static int fdesc_unmount(struct mount *mp, int mntflags, + struct thread *td); +static int fdesc_statfs(struct mount *mp, struct statfs *sbp, + struct thread *td); /* * Mount the per-process file descriptors (/dev/fd) diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index d3b6bda..62852e8 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -72,15 +72,15 @@ static vop_t **fdesc_vnodeop_p; static LIST_HEAD(fdhashhead, fdescnode) *fdhashtbl; static u_long fdhash; -static int fdesc_getattr __P((struct vop_getattr_args *ap)); -static int fdesc_inactive __P((struct vop_inactive_args *ap)); -static int fdesc_lookup __P((struct vop_lookup_args *ap)); -static int fdesc_open __P((struct vop_open_args *ap)); -static int fdesc_print __P((struct vop_print_args *ap)); -static int fdesc_readdir __P((struct vop_readdir_args *ap)); -static int fdesc_reclaim __P((struct vop_reclaim_args *ap)); -static int fdesc_poll __P((struct vop_poll_args *ap)); -static int fdesc_setattr __P((struct vop_setattr_args *ap)); +static int fdesc_getattr(struct vop_getattr_args *ap); +static int fdesc_inactive(struct vop_inactive_args *ap); +static int fdesc_lookup(struct vop_lookup_args *ap); +static int fdesc_open(struct vop_open_args *ap); +static int fdesc_print(struct vop_print_args *ap); +static int fdesc_readdir(struct vop_readdir_args *ap); +static int fdesc_reclaim(struct vop_reclaim_args *ap); +static int fdesc_poll(struct vop_poll_args *ap); +static int fdesc_setattr(struct vop_setattr_args *ap); /* * Initialise cache headers |