summaryrefslogtreecommitdiffstats
path: root/generic/tclStubLib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-20 10:24:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-20 10:24:11 (GMT)
commitf428406cb110cc296fb78528d244808d60316584 (patch)
tree3adf1564ad48d5a41d8d36e670d94c00e760aa51 /generic/tclStubLib.c
parent5dbf2681d7206b079a706e9db96e4cf3f43edb25 (diff)
downloadtcl-f428406cb110cc296fb78528d244808d60316584.zip
tcl-f428406cb110cc296fb78528d244808d60316584.tar.gz
tcl-f428406cb110cc296fb78528d244808d60316584.tar.bz2
If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are not used any more.
Diffstat (limited to 'generic/tclStubLib.c')
-rw-r--r--generic/tclStubLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index dd951bf..5261591 100644
--- a/generic/tclStubLib.c
+++ b/generic/tclStubLib.c
@@ -67,7 +67,7 @@ Tcl_InitStubs(
if (!stubsPtr || (stubsPtr->magic != (((exact&0xff00) >= 0x900) ? magic : TCL_STUB_MAGIC))) {
iPtr->result = (char *)"interpreter uses an incompatible stubs mechanism";
- iPtr->freeProc = TCL_STATIC;
+ iPtr->freeProc = 0;
return NULL;
}