diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
commit | a1c995b626fc56226f7c279f087b50769ff8df18 (patch) | |
tree | 26917801933240b41539e26bd8cb5dc27d8597a1 /sys/nfsclient/nfsstats.h | |
parent | 175dffc0f66eae582032914b7ecddc666edd4e83 (diff) |
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/nfsclient/nfsstats.h')
-rw-r--r-- | sys/nfsclient/nfsstats.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/nfsclient/nfsstats.h b/sys/nfsclient/nfsstats.h index 8fa52f35ca2e..cd1db27b624f 100644 --- a/sys/nfsclient/nfsstats.h +++ b/sys/nfsclient/nfsstats.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)| \ |