Move declaration of M_MFSNODE from mfs_vnops.c to mfsnode.h.

This commit is contained in:
tegge 1997-11-01 20:40:14 +00:00
parent 755c4dea3d
commit 388b273b9d
2 changed files with 6 additions and 4 deletions

View File

@ -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 <sys/param.h>
@ -50,8 +50,6 @@
#include <ufs/mfs/mfsnode.h>
#include <ufs/mfs/mfs_extern.h>
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 *));

View File

@ -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