diff options
author | dgp <dgp@users.sourceforge.net> | 2004-11-12 19:16:43 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-11-12 19:16:43 (GMT) |
commit | 76bdda652755702f1fe6c33d2cabfbd403ec9bfa (patch) | |
tree | 1d91ba65bf4a91e89a0d2d278d92322870e4ef61 | |
parent | a23ff0d0693f84a3bc78226ddbbb6086112d2c8d (diff) | |
download | tcl-76bdda652755702f1fe6c33d2cabfbd403ec9bfa.zip tcl-76bdda652755702f1fe6c33d2cabfbd403ec9bfa.tar.gz tcl-76bdda652755702f1fe6c33d2cabfbd403ec9bfa.tar.bz2 |
* generic/tclInt.h: Moved verification of ptrdiff_t typedef from
* generic/tclExecute.c: multiple .c files into one common header where
* generic/tclVar.c: it is verifiably after tclConfig.h inclusion.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generic/tclExecute.c | 8 | ||||
-rw-r--r-- | generic/tclInt.h | 7 | ||||
-rw-r--r-- | generic/tclVar.c | 8 |
4 files changed, 14 insertions, 15 deletions
@@ -1,3 +1,9 @@ +2004-11-12 Don Porter <dgp@users.sourceforge.net> + + * generic/tclInt.h: Moved verification of ptrdiff_t typedef from + * generic/tclExecute.c: multiple .c files into one common header where + * generic/tclVar.c: it is verifiably after tclConfig.h inclusion. + 2004-11-12 Daniel Steffen <das@users.sourceforge.net> * unix/tclUnixInit.c: moved check for HAVE_CFBUNDLE define after diff --git a/generic/tclExecute.c b/generic/tclExecute.c index ca50a3f..99cf90a 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,15 +11,9 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.166 2004/11/02 15:32:06 dkf Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.167 2004/11/12 19:16:50 dgp Exp $ */ -#ifdef STDC_HEADERS -#include <stddef.h> -#else -typedef int ptrdiff_t; -#endif - #include "tclInt.h" #include "tclCompile.h" diff --git a/generic/tclInt.h b/generic/tclInt.h index c0bd054..fa128aa 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.195 2004/11/12 18:07:49 rmax Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.196 2004/11/12 19:16:52 dgp Exp $ */ #ifndef _TCLINT @@ -54,6 +54,11 @@ #else #include <string.h> #endif +#ifdef STDC_HEADERS +#include <stddef.h> +#else +typedef int ptrdiff_t; +#endif /* * Used to tag functions that are only to be visible within the module diff --git a/generic/tclVar.c b/generic/tclVar.c index 6162fc3..daf05a9 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -15,15 +15,9 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.98 2004/10/29 15:39:06 dkf Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.99 2004/11/12 19:16:53 dgp Exp $ */ -#ifdef STDC_HEADERS -#include <stddef.h> -#else -typedef int ptrdiff_t; -#endif - #include "tclInt.h" /* |