From a1c995b626fc56226f7c279f087b50769ff8df18 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 12 Oct 1997 20:26:33 +0000 Subject: 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 --- sys/nfsclient/nfsstats.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sys/nfsclient/nfsstats.h') 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)| \ -- cgit v1.2.3