diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | generic/tclThreadAlloc.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2003-12-16 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * generic/tclThreadAlloc.c (binfo): Made variable file-local. + 2003-12-15 David Gravereaux <davygrvy@pobox.com> * win/tcl.rc: diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c index 5ff9449..f818495 100755 --- a/generic/tclThreadAlloc.c +++ b/generic/tclThreadAlloc.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclThreadAlloc.c,v 1.6 2003/05/10 04:28:59 mistachkin Exp $ + * RCS: @(#) $Id: tclThreadAlloc.c,v 1.7 2003/12/16 11:34:45 dkf Exp $ */ #if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) @@ -117,7 +117,7 @@ typedef struct Cache { * to avoid calculating them repeatedly. */ -struct binfo { +static struct { size_t blocksize; /* Bucket blocksize. */ int maxblocks; /* Max blocks before move to share. */ int nmove; /* Num blocks to move to share. */ |