summaryrefslogtreecommitdiffstats
path: root/sys/fs/hpfs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 22:20:14 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 22:20:14 +0000
commit1446d094292532062a83b8dc4587f9b62a6120df (patch)
treecf7078f9ddebb58cb7cd55dcd736f1f25c75ac7f /sys/fs/hpfs
parentc147e70b997febc0da8565eecf0dabede1ba5f88 (diff)
downloadFreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.zip
FreeBSD-src-1446d094292532062a83b8dc4587f9b62a6120df.tar.gz
Remove __P.
Diffstat (limited to 'sys/fs/hpfs')
-rw-r--r--sys/fs/hpfs/hpfs.h14
-rw-r--r--sys/fs/hpfs/hpfs_vfsops.c28
-rw-r--r--sys/fs/hpfs/hpfs_vnops.c42
3 files changed, 41 insertions, 43 deletions
diff --git a/sys/fs/hpfs/hpfs.h b/sys/fs/hpfs/hpfs.h
index ec2cfad..9a28562 100644
--- a/sys/fs/hpfs/hpfs.h
+++ b/sys/fs/hpfs/hpfs.h
@@ -389,11 +389,11 @@ MALLOC_DECLARE(M_HPFSNO);
extern vop_t ** hpfs_vnodeop_p;
/* Hash routines, too small to be separate header */
-void hpfs_hphashinit __P((void));
-void hpfs_hphashdestroy __P((void));
-struct hpfsnode *hpfs_hphashlookup __P((dev_t, lsn_t));
-struct hpfsnode *hpfs_hphashget __P((dev_t, lsn_t));
-int hpfs_hphashvget __P((dev_t, lsn_t, int, struct vnode **, struct thread *));
-void hpfs_hphashins __P((register struct hpfsnode *));
-void hpfs_hphashrem __P((register struct hpfsnode *));
+void hpfs_hphashinit(void);
+void hpfs_hphashdestroy(void);
+struct hpfsnode *hpfs_hphashlookup(dev_t, lsn_t);
+struct hpfsnode *hpfs_hphashget(dev_t, lsn_t);
+int hpfs_hphashvget(dev_t, lsn_t, int, struct vnode **, struct thread *);
+void hpfs_hphashins(register struct hpfsnode *);
+void hpfs_hphashrem(register struct hpfsnode *);
extern struct lock hpfs_hphash_lock;
diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c
index cf3c114..05ae373 100644
--- a/sys/fs/hpfs/hpfs_vfsops.c
+++ b/sys/fs/hpfs/hpfs_vfsops.c
@@ -55,21 +55,19 @@ MALLOC_DEFINE(M_HPFSNO, "HPFS node", "HPFS node structure");
struct sockaddr;
-static int hpfs_root __P((struct mount *, struct vnode **));
-static int hpfs_statfs __P((struct mount *, struct statfs *,
- struct thread *));
-static int hpfs_unmount __P((struct mount *, int, struct thread *));
-static int hpfs_vget __P((struct mount *mp, ino_t ino, int flags,
- struct vnode **vpp));
-static int hpfs_mountfs __P((register struct vnode *, struct mount *,
- struct hpfs_args *, struct thread *));
-static int hpfs_vptofh __P((struct vnode *, struct fid *));
-static int hpfs_fhtovp __P((struct mount *, struct fid *,
- struct vnode **));
-static int hpfs_mount __P((struct mount *, char *, caddr_t,
- struct nameidata *, struct thread *));
-static int hpfs_init __P((struct vfsconf *));
-static int hpfs_uninit __P((struct vfsconf *));
+static int hpfs_root(struct mount *, struct vnode **);
+static int hpfs_statfs(struct mount *, struct statfs *, struct thread *);
+static int hpfs_unmount(struct mount *, int, struct thread *);
+static int hpfs_vget(struct mount *mp, ino_t ino, int flags,
+ struct vnode **vpp);
+static int hpfs_mountfs(register struct vnode *, struct mount *,
+ struct hpfs_args *, struct thread *);
+static int hpfs_vptofh(struct vnode *, struct fid *);
+static int hpfs_fhtovp(struct mount *, struct fid *, struct vnode **);
+static int hpfs_mount(struct mount *, char *, caddr_t,
+ struct nameidata *, struct thread *);
+static int hpfs_init(struct vfsconf *);
+static int hpfs_uninit(struct vfsconf *);
static int
hpfs_init (
diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c
index 7b4d731..af836cb 100644
--- a/sys/fs/hpfs/hpfs_vnops.c
+++ b/sys/fs/hpfs/hpfs_vnops.c
@@ -57,27 +57,27 @@
#include <fs/hpfs/hpfs_subr.h>
#include <fs/hpfs/hpfs_ioctl.h>
-static int hpfs_de_uiomove __P((struct hpfsmount *, struct hpfsdirent *,
- struct uio *));
-static int hpfs_ioctl __P((struct vop_ioctl_args *ap));
-static int hpfs_read __P((struct vop_read_args *));
-static int hpfs_write __P((struct vop_write_args *ap));
-static int hpfs_getattr __P((struct vop_getattr_args *ap));
-static int hpfs_setattr __P((struct vop_setattr_args *ap));
-static int hpfs_inactive __P((struct vop_inactive_args *ap));
-static int hpfs_print __P((struct vop_print_args *ap));
-static int hpfs_reclaim __P((struct vop_reclaim_args *ap));
-static int hpfs_strategy __P((struct vop_strategy_args *ap));
-static int hpfs_access __P((struct vop_access_args *ap));
-static int hpfs_open __P((struct vop_open_args *ap));
-static int hpfs_close __P((struct vop_close_args *ap));
-static int hpfs_readdir __P((struct vop_readdir_args *ap));
-static int hpfs_lookup __P((struct vop_lookup_args *ap));
-static int hpfs_create __P((struct vop_create_args *));
-static int hpfs_remove __P((struct vop_remove_args *));
-static int hpfs_bmap __P((struct vop_bmap_args *ap));
-static int hpfs_fsync __P((struct vop_fsync_args *ap));
-static int hpfs_pathconf __P((struct vop_pathconf_args *ap));
+static int hpfs_de_uiomove(struct hpfsmount *, struct hpfsdirent *,
+ struct uio *);
+static int hpfs_ioctl(struct vop_ioctl_args *ap);
+static int hpfs_read(struct vop_read_args *);
+static int hpfs_write(struct vop_write_args *ap);
+static int hpfs_getattr(struct vop_getattr_args *ap);
+static int hpfs_setattr(struct vop_setattr_args *ap);
+static int hpfs_inactive(struct vop_inactive_args *ap);
+static int hpfs_print(struct vop_print_args *ap);
+static int hpfs_reclaim(struct vop_reclaim_args *ap);
+static int hpfs_strategy(struct vop_strategy_args *ap);
+static int hpfs_access(struct vop_access_args *ap);
+static int hpfs_open(struct vop_open_args *ap);
+static int hpfs_close(struct vop_close_args *ap);
+static int hpfs_readdir(struct vop_readdir_args *ap);
+static int hpfs_lookup(struct vop_lookup_args *ap);
+static int hpfs_create(struct vop_create_args *);
+static int hpfs_remove(struct vop_remove_args *);
+static int hpfs_bmap(struct vop_bmap_args *ap);
+static int hpfs_fsync(struct vop_fsync_args *ap);
+static int hpfs_pathconf(struct vop_pathconf_args *ap);
static int
hpfs_fsync(ap)
OpenPOWER on IntegriCloud