]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fixed staticization. buckets[] was staticized but was still declared
authorBruce Evans <bde@FreeBSD.org>
Tue, 16 Sep 1997 13:52:04 +0000 (13:52 +0000)
committerBruce Evans <bde@FreeBSD.org>
Tue, 16 Sep 1997 13:52:04 +0000 (13:52 +0000)
commit043a2f3b8bf73cd64d2f206787eeb024e03bc234
tree191a995cc9d22c9a82590bdd7d9872298a8629f4
parent514ede0953c9af85d4dff547ab1135cb833514af
Fixed staticization.  buckets[] was staticized but was still declared
extern in <sys/malloc.h> 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.
sys/kern/kern_malloc.c
sys/sys/malloc.h