diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c index 023c9e6e23aa..aa86272e61c8 100644 --- a/sys/ufs/mfs/mfs_vnops.c +++ b/sys/ufs/mfs/mfs_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfs_vnops.c 8.11 (Berkeley) 5/22/95 - * $Id: mfs_vnops.c,v 1.31 1997/10/27 13:33:47 bde Exp $ + * $Id: mfs_vnops.c,v 1.32 1997/11/01 20:19:44 tegge Exp $ */ #include @@ -50,8 +50,6 @@ #include #include -MALLOC_DECLARE(M_MFSNODE); - static int mfs_badop __P((struct vop_generic_args *)); static int mfs_bmap __P((struct vop_bmap_args *)); static int mfs_close __P((struct vop_close_args *)); diff --git a/sys/ufs/mfs/mfsnode.h b/sys/ufs/mfs/mfsnode.h index 34b7b6bfe236..f56d4da7101d 100644 --- a/sys/ufs/mfs/mfsnode.h +++ b/sys/ufs/mfs/mfsnode.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfsnode.h 8.3 (Berkeley) 5/19/95 - * $Id: mfsnode.h,v 1.9 1997/09/14 02:58:08 peter Exp $ + * $Id: mfsnode.h,v 1.10 1997/10/16 10:50:05 phk Exp $ */ #ifndef _UFS_MFS_MFSNODE_H_ @@ -57,4 +57,8 @@ struct mfsnode { #define VTOMFS(vp) ((struct mfsnode *)(vp)->v_data) #define MFSTOV(mfsp) ((mfsp)->mfs_vnode) +#ifdef MALLOC_DECLARE +MALLOC_DECLARE(M_MFSNODE); +#endif + #endif