diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/ufs/mfs | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/ufs/mfs')
-rw-r--r-- | sys/ufs/mfs/mfs_extern.h | 40 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_vfsops.c | 6 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_vnops.c | 6 |
3 files changed, 26 insertions, 26 deletions
diff --git a/sys/ufs/mfs/mfs_extern.h b/sys/ufs/mfs/mfs_extern.h index 6dfe47b20ad..9a62baabaa2 100644 --- a/sys/ufs/mfs/mfs_extern.h +++ b/sys/ufs/mfs/mfs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mfs_extern.h,v 1.9 2001/02/20 01:50:12 assar Exp $ */ +/* $OpenBSD: mfs_extern.h,v 1.10 2002/03/14 01:27:15 millert Exp $ */ /* $NetBSD: mfs_extern.h,v 1.4 1996/02/09 22:31:27 christos Exp $ */ /*- @@ -48,28 +48,28 @@ struct mbuf; __BEGIN_DECLS /* mfs_vfsops.c */ -int mfs_mountroot __P((void)); -int mfs_initminiroot __P((caddr_t)); -int mfs_mount __P((struct mount *, const char *, void *, - struct nameidata *, struct proc *)); -int mfs_start __P((struct mount *, int, struct proc *)); -int mfs_statfs __P((struct mount *, struct statfs *, struct proc *)); +int mfs_mountroot(void); +int mfs_initminiroot(caddr_t); +int mfs_mount(struct mount *, const char *, void *, + struct nameidata *, struct proc *); +int mfs_start(struct mount *, int, struct proc *); +int mfs_statfs(struct mount *, struct statfs *, struct proc *); -int mfs_init __P((struct vfsconf *)); -int mfs_checkexp __P((struct mount *mp, struct mbuf *nam, - int *extflagsp, struct ucred **credanonp)); +int mfs_init(struct vfsconf *); +int mfs_checkexp(struct mount *mp, struct mbuf *nam, + int *extflagsp, struct ucred **credanonp); /* mfs_vnops.c */ -int mfs_open __P((void *)); -int mfs_ioctl __P((void *)); -int mfs_strategy __P((void *)); -void mfs_doio __P((struct buf *, caddr_t)); -int mfs_bmap __P((void *)); -int mfs_close __P((void *)); -int mfs_inactive __P((void *)); -int mfs_reclaim __P((void *)); -int mfs_print __P((void *)); +int mfs_open(void *); +int mfs_ioctl(void *); +int mfs_strategy(void *); +void mfs_doio(struct buf *, caddr_t); +int mfs_bmap(void *); +int mfs_close(void *); +int mfs_inactive(void *); +int mfs_reclaim(void *); +int mfs_print(void *); #define mfs_revoke vop_generic_revoke -int mfs_badop __P((void *)); +int mfs_badop(void *); __END_DECLS diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c index 134f3c6c2fa..58a67fc60cc 100644 --- a/sys/ufs/mfs/mfs_vfsops.c +++ b/sys/ufs/mfs/mfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfs_vfsops.c,v 1.18 2002/02/22 20:37:46 drahn Exp $ */ +/* $OpenBSD: mfs_vfsops.c,v 1.19 2002/03/14 01:27:15 millert Exp $ */ /* $NetBSD: mfs_vfsops.c,v 1.10 1996/02/09 22:31:28 christos Exp $ */ /* @@ -65,7 +65,7 @@ u_long mfs_rootsize; /* size of mini-root in bytes */ static int mfs_minor; /* used for building internal dev_t */ -extern int (**mfs_vnodeop_p) __P((void *)); +extern int (**mfs_vnodeop_p)(void *); /* * mfs vfs operations. @@ -146,7 +146,7 @@ mfs_initminiroot(base) caddr_t base; { struct fs *fs = (struct fs *)(base + SBOFF); - extern int (*mountroot) __P((void)); + extern int (*mountroot)(void); /* check for valid super block */ if (fs->fs_magic != FS_MAGIC || fs->fs_bsize > MAXBSIZE || diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c index 8f734a97fc1..701322d9238 100644 --- a/sys/ufs/mfs/mfs_vnops.c +++ b/sys/ufs/mfs/mfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfs_vnops.c,v 1.20 2002/01/23 01:40:59 art Exp $ */ +/* $OpenBSD: mfs_vnops.c,v 1.21 2002/03/14 01:27:15 millert Exp $ */ /* $NetBSD: mfs_vnops.c,v 1.8 1996/03/17 02:16:32 christos Exp $ */ /* @@ -55,7 +55,7 @@ /* * mfs vnode operations. */ -int (**mfs_vnodeop_p) __P((void *)); +int (**mfs_vnodeop_p)(void *); struct vnodeopv_entry_desc mfs_vnodeop_entries[] = { { &vop_default_desc, vn_default_error }, { &vop_lookup_desc, mfs_lookup }, /* lookup */ @@ -92,7 +92,7 @@ struct vnodeopv_entry_desc mfs_vnodeop_entries[] = { { &vop_pathconf_desc, mfs_pathconf }, /* pathconf */ { &vop_advlock_desc, mfs_advlock }, /* advlock */ { &vop_bwrite_desc, mfs_bwrite }, /* bwrite */ - { (struct vnodeop_desc*)NULL, (int(*) __P((void *)))NULL } + { (struct vnodeop_desc*)NULL, (int(*)(void *))NULL } }; struct vnodeopv_desc mfs_vnodeop_opv_desc = { &mfs_vnodeop_p, mfs_vnodeop_entries }; |