From 36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5 Mon Sep 17 00:00:00 2001 From: phk 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/net/if.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/net/if.h') diff --git a/sys/net/if.h b/sys/net/if.h index 2646625..0fe9205 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if.h 8.1 (Berkeley) 6/10/93 - * $Id: if.h,v 1.45 1997/02/22 09:40:58 peter Exp $ + * $Id: if.h,v 1.46 1997/05/03 21:07:12 peter Exp $ */ #ifndef _NET_IF_H_ @@ -199,6 +199,13 @@ struct ifconf { #define ifc_req ifc_ifcu.ifcu_req /* array of structures returned */ }; +#ifdef KERNEL +#ifdef MALLOC_DECLARE +MALLOC_DECLARE(M_IFADDR); +MALLOC_DECLARE(M_IFMADDR); +#endif +#endif + /* XXX - this should go away soon */ #ifdef KERNEL #include -- cgit v1.1