summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfsargs.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
committerphk <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
commit36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5 (patch)
treee21c1d8330cbd5fba838afec549f8e4f0f66e451 /sys/nfsclient/nfsargs.h
parent8ae70d2227594ff4a283453ca3cc3031eb78c14b (diff)
downloadFreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.zip
FreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.tar.gz
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
Diffstat (limited to 'sys/nfsclient/nfsargs.h')
-rw-r--r--sys/nfsclient/nfsargs.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/nfsclient/nfsargs.h b/sys/nfsclient/nfsargs.h
index 8fa52f3..cd1db27 100644
--- a/sys/nfsclient/nfsargs.h
+++ b/sys/nfsclient/nfsargs.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs.h 8.4 (Berkeley) 5/1/95
- * $Id: nfs.h,v 1.30 1997/08/16 19:15:54 wollman Exp $
+ * $Id: nfs.h,v 1.31 1997/09/10 19:52:24 phk Exp $
*/
#ifndef _NFS_NFS_H_
@@ -300,6 +300,17 @@ struct nfsstats {
*/
#ifdef KERNEL
+#ifdef MALLOC_DECLARE
+MALLOC_DECLARE(M_NFSREQ);
+MALLOC_DECLARE(M_NFSMNT);
+MALLOC_DECLARE(M_NFSDIROFF);
+MALLOC_DECLARE(M_NFSRVDESC);
+MALLOC_DECLARE(M_NFSUID);
+MALLOC_DECLARE(M_NQLEASE);
+MALLOC_DECLARE(M_NFSD);
+MALLOC_DECLARE(M_NFSBIGFH);
+#endif
+
struct uio; struct buf; struct vattr; struct nameidata; /* XXX */
#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \
OpenPOWER on IntegriCloud