diff options
author | dgp <dgp@users.sourceforge.net> | 2008-04-02 03:37:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-04-02 03:37:31 (GMT) |
commit | 4910cd294dec3c7b5faaf00b4ddbea754d14779a (patch) | |
tree | 2ba84b84c3fbee19623d9be01c19314326e6255c | |
parent | a6b4b354c03294e4796b0b8c9d7b8f8cc7229b4c (diff) | |
download | tcl-4910cd294dec3c7b5faaf00b4ddbea754d14779a.zip tcl-4910cd294dec3c7b5faaf00b4ddbea754d14779a.tar.gz tcl-4910cd294dec3c7b5faaf00b4ddbea754d14779a.tar.bz2 |
* generic/tclStubLib.c: Removed needless #ifdef complexity.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | generic/tclStubLib.c | 13 |
2 files changed, 3 insertions, 12 deletions
@@ -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 */ |