summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclStubLib.c13
2 files changed, 3 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index ae1947d..1587082 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
2008-04-01 Don Porter <dgp@users.sourceforge.net>
+ * generic/tclStubLib.c: Removed needless #ifdef complexity.
+
* generic/tclStubLib.c (Tcl_InitStubs): Added missing error message.
* generic/tclPkg.c (Tcl_PkgInitStubsCheck):
diff --git a/generic/tclStubLib.c b/generic/tclStubLib.c
index fd7061f..0ba42d5 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.22 2008/04/01 19:22:47 dgp Exp $
+ * RCS: @(#) $Id: tclStubLib.c,v 1.23 2008/04/02 03:37:32 dgp Exp $
*/
/*
@@ -20,10 +20,7 @@
* including the rest of the stub functions.
*/
-#ifndef USE_TCL_STUBS
#define USE_TCL_STUBS
-#endif
-#undef USE_TCL_STUB_PROCS
#include "tclInt.h"
@@ -80,10 +77,6 @@ static int isDigit(const int c)
*----------------------------------------------------------------------
*/
-#ifdef Tcl_InitStubs
-#undef Tcl_InitStubs
-#endif
-
CONST char *
Tcl_InitStubs(
Tcl_Interp *interp,
@@ -166,10 +159,6 @@ Tcl_InitStubs(
*----------------------------------------------------------------------
*/
-#ifdef TclTomMathInitializeStubs
-#undef TclTomMathInitializeStubs
-#endif
-
CONST char*
TclTomMathInitializeStubs(
Tcl_Interp* interp, /* Tcl interpreter */