summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authordas <das@noemail.net>2008-04-16 14:49:28 (GMT)
committerdas <das@noemail.net>2008-04-16 14:49:28 (GMT)
commit278f2d8986a3262a6580b5235018ebce4d128c03 (patch)
tree9f4d763e4feec43980c4ccc9d7e151d0af7b0c91 /generic/tclStubLib.c
parentd949be506bb3fc70be4d5272d14e60db976207da (diff)
downloadtcl-278f2d8986a3262a6580b5235018ebce4d128c03.zip
tcl-278f2d8986a3262a6580b5235018ebce4d128c03.tar.gz
tcl-278f2d8986a3262a6580b5235018ebce4d128c03.tar.bz2
* generic/tclInt.h: make stubs tables 'static const' and
* generic/tclStubInit.c: export only module-scope pointers to * generic/tclStubLib.c: the main stubs tables (for package * tools/genStubs.tcl: initialization). [Patch 1938497] * generic/tclBasic.c (Tcl_CreateInterp): * generic/tclTomMathInterface.c (TclTommath_Init): FossilOrigin-Name: 50b59ad915b6f60d4518e206ed3d9cd3232e9635
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r--generic/tclStubLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index a724a09..81e82d7 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStubLib.c,v 1.24 2008/04/02 21:29:05 das Exp $
+ * RCS: @(#) $Id: tclStubLib.c,v 1.25 2008/04/16 14:49:29 das Exp $
*/
/*
@@ -36,7 +36,7 @@ const TclIntStubs *tclIntStubsPtr = NULL;
const TclIntPlatStubs *tclIntPlatStubsPtr = NULL;
const TclTomMathStubs* tclTomMathStubsPtr = NULL;
-static TclStubs *
+static const TclStubs *
HasStubSupport(
Tcl_Interp *interp)
{