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/rtsock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/net/rtsock.c') diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 9801332..12650ac 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)rtsock.c 8.5 (Berkeley) 11/2/94 - * $Id: rtsock.c,v 1.33 1997/09/02 01:18:49 bde Exp $ + * $Id: rtsock.c,v 1.34 1997/09/14 03:10:38 peter Exp $ */ @@ -52,6 +52,8 @@ #include #include +MALLOC_DEFINE(M_RTABLE, "routetbl", "routing tables"); + static struct sockaddr route_dst = { 2, PF_ROUTE, }; static struct sockaddr route_src = { 2, PF_ROUTE, }; static struct sockaddr sa_zero = { sizeof(sa_zero), AF_INET, }; -- cgit v1.1