diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 22:40:48 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 22:40:48 +0000 |
commit | 79061a930630646bcfae6d7f81cedda50705cfbb (patch) | |
tree | d808f6096e1d40f5089a77d9cf1abc15ee82a9fe /sys/ufs/ffs/ffs_snapshot.c | |
parent | 1446d094292532062a83b8dc4587f9b62a6120df (diff) | |
download | FreeBSD-src-79061a930630646bcfae6d7f81cedda50705cfbb.zip FreeBSD-src-79061a930630646bcfae6d7f81cedda50705cfbb.tar.gz |
Remove __P.
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-rw-r--r-- | sys/ufs/ffs/ffs_snapshot.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c index e661d73..257450b 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -60,21 +60,21 @@ #define KERNCRED thread0.td_ucred #define DEBUG 1 -static int cgaccount __P((int, struct vnode *, struct buf *, int)); -static int expunge __P((struct vnode *, struct inode *, struct fs *, - int (*) __P((struct vnode *, ufs_daddr_t *, ufs_daddr_t *, struct fs *, - ufs_daddr_t, int)), int)); -static int indiracct __P((struct vnode *, struct vnode *, int, ufs_daddr_t, - int, int, int, int, struct fs *, int (*) __P((struct vnode *, - ufs_daddr_t *, ufs_daddr_t *, struct fs *, ufs_daddr_t, int)), int)); -static int fullacct __P((struct vnode *, ufs_daddr_t *, ufs_daddr_t *, - struct fs *, ufs_daddr_t, int)); -static int snapacct __P((struct vnode *, ufs_daddr_t *, ufs_daddr_t *, - struct fs *, ufs_daddr_t, int)); -static int mapacct __P((struct vnode *, ufs_daddr_t *, ufs_daddr_t *, - struct fs *, ufs_daddr_t, int)); -static int ffs_copyonwrite __P((struct vnode *, struct buf *)); -static int readblock __P((struct buf *, daddr_t)); +static int cgaccount(int, struct vnode *, struct buf *, int); +static int expunge(struct vnode *, struct inode *, struct fs *, + int (*)(struct vnode *, ufs_daddr_t *, ufs_daddr_t *, struct fs *, + ufs_daddr_t, int), int); +static int indiracct(struct vnode *, struct vnode *, int, ufs_daddr_t, + int, int, int, int, struct fs *, int (*)(struct vnode *, + ufs_daddr_t *, ufs_daddr_t *, struct fs *, ufs_daddr_t, int), int); +static int fullacct(struct vnode *, ufs_daddr_t *, ufs_daddr_t *, + struct fs *, ufs_daddr_t, int); +static int snapacct(struct vnode *, ufs_daddr_t *, ufs_daddr_t *, + struct fs *, ufs_daddr_t, int); +static int mapacct(struct vnode *, ufs_daddr_t *, ufs_daddr_t *, + struct fs *, ufs_daddr_t, int); +static int ffs_copyonwrite(struct vnode *, struct buf *); +static int readblock(struct buf *, daddr_t); /* * To ensure the consistency of snapshots across crashes, we must @@ -614,8 +614,8 @@ expunge(snapvp, cancelip, fs, acctfunc, expungetype) struct vnode *snapvp; struct inode *cancelip; struct fs *fs; - int (*acctfunc) __P((struct vnode *, ufs_daddr_t *, ufs_daddr_t *, - struct fs *, ufs_daddr_t, int)); + int (*acctfunc)(struct vnode *, ufs_daddr_t *, ufs_daddr_t *, + struct fs *, ufs_daddr_t, int); int expungetype; { int i, len, error, numblks, blksperindir; @@ -698,8 +698,8 @@ indiracct(snapvp, cancelvp, level, blkno, lbn, rlbn, remblks, blksperindir, fs, int remblks; int blksperindir; struct fs *fs; - int (*acctfunc) __P((struct vnode *, ufs_daddr_t *, ufs_daddr_t *, - struct fs *, ufs_daddr_t, int)); + int (*acctfunc)(struct vnode *, ufs_daddr_t *, ufs_daddr_t *, + struct fs *, ufs_daddr_t, int); int expungetype; { int subblksperindir, error, last, num, i; |