diff options
author | bp <bp@FreeBSD.org> | 2000-09-05 07:54:39 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-09-05 07:54:39 +0000 |
commit | 7106b8bf8a4049b6fe4ceaaa93f7691fe1be1920 (patch) | |
tree | 84a21dac5cf261138aec9a34408ad04476c4cb8a /sys/fs/nullfs/null.h | |
parent | 81eb6ee3cf8a30f5669bbf89538ad5605f839c63 (diff) | |
download | FreeBSD-src-7106b8bf8a4049b6fe4ceaaa93f7691fe1be1920.zip FreeBSD-src-7106b8bf8a4049b6fe4ceaaa93f7691fe1be1920.tar.gz |
Get rid from the __P() macros.
Encouraged by: peter
Diffstat (limited to 'sys/fs/nullfs/null.h')
-rw-r--r-- | sys/fs/nullfs/null.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/fs/nullfs/null.h b/sys/fs/nullfs/null.h index 2b7ed51..f825ee8 100644 --- a/sys/fs/nullfs/null.h +++ b/sys/fs/nullfs/null.h @@ -57,20 +57,21 @@ struct null_node { struct vnode *null_vnode; /* Back pointer */ }; -extern int nullfs_init __P((struct vfsconf *vfsp)); -extern int null_node_create __P((struct mount *mp, struct vnode *target, struct vnode **vpp)); - #define MOUNTTONULLMOUNT(mp) ((struct null_mount *)((mp)->mnt_data)) #define VTONULL(vp) ((struct null_node *)(vp)->v_data) #define NULLTOV(xp) ((xp)->null_vnode) + +int nullfs_init(struct vfsconf *vfsp); +int null_node_create(struct mount *mp, struct vnode *target, struct vnode **vpp); +int null_bypass(struct vop_generic_args *ap); + #ifdef DIAGNOSTIC -extern struct vnode *null_checkvp __P((struct vnode *vp, char *fil, int lno)); +struct vnode *null_checkvp(struct vnode *vp, char *fil, int lno); #define NULLVPTOLOWERVP(vp) null_checkvp((vp), __FILE__, __LINE__) #else #define NULLVPTOLOWERVP(vp) (VTONULL(vp)->null_lowervp) #endif -extern int null_bypass __P((struct vop_generic_args *ap)); - extern vop_t **null_vnodeop_p; + #endif /* _KERNEL */ |