summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-11-12 19:16:43 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-11-12 19:16:43 (GMT)
commit76bdda652755702f1fe6c33d2cabfbd403ec9bfa (patch)
tree1d91ba65bf4a91e89a0d2d278d92322870e4ef61 /generic
parenta23ff0d0693f84a3bc78226ddbbb6086112d2c8d (diff)
downloadtcl-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.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclExecute.c8
-rw-r--r--generic/tclInt.h7
-rw-r--r--generic/tclVar.c8
3 files changed, 8 insertions, 15 deletions
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"
/*