diff options
author | phk <phk@FreeBSD.org> | 1997-10-10 18:14:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-10 18:14:23 +0000 |
commit | cfddde534bb728292e1949840138767484d4d656 (patch) | |
tree | f77a8da7ab38a9615ce075f3924ffc74ecfaadad /sys/kern/kern_subr.c | |
parent | 0a78fdbf4cb54b329d3d6072ea84adb0c5bf8a6f (diff) | |
download | FreeBSD-src-cfddde534bb728292e1949840138767484d4d656.zip FreeBSD-src-cfddde534bb728292e1949840138767484d4d656.tar.gz |
Rename "struct kmemstats" to "struct malloc_type" it makes more sense now.
Fix type argument to hashinit() and phashinit()
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r-- | sys/kern/kern_subr.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 8596570..ba6e43b 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_subr.c 8.3 (Berkeley) 1/21/94 - * $Id: kern_subr.c,v 1.11 1997/05/28 00:47:27 alex Exp $ + * $Id: kern_subr.c,v 1.12 1997/09/02 20:05:42 bde Exp $ */ #include <sys/param.h> @@ -198,7 +198,8 @@ again: */ void * hashinit(elements, type, hashmask) - int elements, type; + int elements; + struct malloc_type *type; u_long *hashmask; { long hashsize; @@ -227,7 +228,8 @@ static int primes[] = { 1, 13, 31, 61, 127, 251, 509, 761, 1021, 1531, 2039, */ void * phashinit(elements, type, nentries) - int elements, type; + int elements; + struct malloc_type *type; u_long *nentries; { long hashsize; |