aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
commita1c995b626fc56226f7c279f087b50769ff8df18 (patch)
tree26917801933240b41539e26bd8cb5dc27d8597a1 /sys/sys/vnode.h
parent175dffc0f66eae582032914b7ecddc666edd4e83 (diff)
downloadsrc-a1c995b626fc56226f7c279f087b50769ff8df18.tar.gz
src-a1c995b626fc56226f7c279f087b50769ff8df18.zip
Last major round (Unless Bruce thinks of somthing :-) of malloc changes.
Distribute all but the most fundamental malloc types. This time I also remembered the trick to making things static: Put "static" in front of them. A couple of finer points by: bde
Notes
Notes: svn path=/head/; revision=30354
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index acbccb5fac7a..999776939e66 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vnode.h 8.7 (Berkeley) 2/4/94
- * $Id: vnode.h,v 1.48 1997/09/14 02:25:41 peter Exp $
+ * $Id: vnode.h,v 1.49 1997/09/21 04:24:09 dyson Exp $
*/
#ifndef _SYS_VNODE_H_
@@ -202,6 +202,11 @@ struct vattr {
#define VNOVAL (-1)
#ifdef KERNEL
+
+#ifdef MALLOC_DECLARE
+MALLOC_DECLARE(M_VNODE);
+#endif
+
/*
* Convert between vnode types and inode formats (since POSIX.1
* defines mode word of stat structure in terms of inode formats).