From 3933623394135029ff1d6e060fa065d75ff4a1b7 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 16 Dec 2003 11:34:44 +0000 Subject: Made a variable file-local for safety --- ChangeLog | 4 ++++ generic/tclThreadAlloc.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5fcdc8f..edc5885 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-12-16 Donal K. Fellows + + * generic/tclThreadAlloc.c (binfo): Made variable file-local. + 2003-12-15 David Gravereaux * 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. */ -- cgit v0.12