summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-05-29 22:59:33 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-05-29 22:59:33 (GMT)
commita8b71532d63c4ab14b2e5c3bca190a3bc87a5cc4 (patch)
tree9656b6d7da873a1267131452920541d1a23bd64e
parentce206092f8af0c2660013523b800ee8d65e9d450 (diff)
downloadtcl-a8b71532d63c4ab14b2e5c3bca190a3bc87a5cc4.zip
tcl-a8b71532d63c4ab14b2e5c3bca190a3bc87a5cc4.tar.gz
tcl-a8b71532d63c4ab14b2e5c3bca190a3bc87a5cc4.tar.bz2
* Removed "dummy" reference to Tcl_LinkVar.
It is no longer needed since Tcl_Main() now actually calls Tcl_LinkVar(). Thanks to Joe English for pointing that out.
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclMain.c12
2 files changed, 7 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 536a396..be4e046 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-29 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclMain.c: Removed "dummy" reference to Tcl_LinkVar.
+ It is no longer needed since Tcl_Main() now actually calls
+ Tcl_LinkVar(). Thanks to Joe English for pointing that out.
+
2002-05-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* generic/tclExecute.c (TclExecuteByteCode):
diff --git a/generic/tclMain.c b/generic/tclMain.c
index 28a668d..1380ce8 100644
--- a/generic/tclMain.c
+++ b/generic/tclMain.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: tclMain.c,v 1.19 2002/04/20 01:29:15 dgp Exp $
+ * RCS: @(#) $Id: tclMain.c,v 1.20 2002/05/29 22:59:33 dgp Exp $
*/
#include "tcl.h"
@@ -20,16 +20,6 @@
# define TCL_STORAGE_CLASS DLLEXPORT
/*
- * The following code ensures that tclLink.c is linked whenever
- * Tcl is linked. Without this code there's no reference to the
- * code in that file from anywhere in Tcl, so it may not be
- * linked into the application.
- */
-
-EXTERN int Tcl_LinkVar();
-int (*tclDummyLinkVarPtr)() = Tcl_LinkVar;
-
-/*
* Declarations for various library procedures and variables (don't want
* to include tclPort.h here, because people might copy this file out of
* the Tcl source directory to make their own modified versions).