From owner-cvs-sys Tue Sep 16 06:55:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA24896 for cvs-sys-outgoing; Tue, 16 Sep 1997 06:55:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA24868; Tue, 16 Sep 1997 06:55:42 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA19149; Tue, 16 Sep 1997 06:52:05 -0700 (PDT) Date: Tue, 16 Sep 1997 06:52:05 -0700 (PDT) Message-Id: <199709161352.GAA19149@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/sys malloc.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/09/16 06:52:05 PDT Modified files: sys/kern kern_malloc.c sys/sys malloc.h Log: Fixed staticization. buckets[] was staticized but was still declared extern in and it should not have been staticized for the !(KMEMSTATS || DIAGNOSTIC) case. Fixed the !(KMEMSTATS || DIAGNOSTIC) case. The MALLOC() and FREE() macros are evil, but code generally doesn't allow for this and some code involving else clauses did not compile. Finished staticization. Revision Changes Path 1.30 +17 -6 src/sys/kern/kern_malloc.c 1.24 +6 -7 src/sys/sys/malloc.h