From 76bdda652755702f1fe6c33d2cabfbd403ec9bfa Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 12 Nov 2004 19:16:43 +0000 Subject: * 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. --- ChangeLog | 6 ++++++ generic/tclExecute.c | 8 +------- generic/tclInt.h | 7 ++++++- generic/tclVar.c | 8 +------- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6647cad..96c5588 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-11-12 Don Porter + + * 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 * 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 -#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 #endif +#ifdef STDC_HEADERS +#include +#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 -#else -typedef int ptrdiff_t; -#endif - #include "tclInt.h" /* -- cgit v0.12