summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclExecute.c8
-rw-r--r--generic/tclInt.h7
-rw-r--r--generic/tclVar.c8
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 <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"
/*