summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/mfs/mfs_vnops.c4
-rw-r--r--sys/ufs/mfs/mfsnode.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/ufs/mfs/mfs_vnops.c b/sys/ufs/mfs/mfs_vnops.c
index 023c9e6..aa86272 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 <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 *));
diff --git a/sys/ufs/mfs/mfsnode.h b/sys/ufs/mfs/mfsnode.h
index 34b7b6b..f56d4da 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
OpenPOWER on IntegriCloud