summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tk3d.c3
-rw-r--r--generic/tkArgv.c3
-rw-r--r--generic/tkAtom.c3
-rw-r--r--generic/tkBind.c3
-rw-r--r--generic/tkBitmap.c3
-rw-r--r--generic/tkButton.c3
-rw-r--r--generic/tkCanvArc.c3
-rw-r--r--generic/tkCanvBmap.c3
-rw-r--r--generic/tkCanvImg.c3
-rw-r--r--generic/tkCanvLine.c3
-rw-r--r--generic/tkCanvPoly.c3
-rw-r--r--generic/tkCanvPs.c3
-rw-r--r--generic/tkCanvText.c3
-rw-r--r--generic/tkCanvUtil.c3
-rw-r--r--generic/tkCanvWind.c3
-rw-r--r--generic/tkCanvas.c3
-rw-r--r--generic/tkClipboard.c3
-rw-r--r--generic/tkCmds.c3
-rw-r--r--generic/tkColor.c3
-rw-r--r--generic/tkConfig.c4
-rw-r--r--generic/tkCursor.c3
-rw-r--r--generic/tkError.c3
-rw-r--r--generic/tkFocus.c3
-rw-r--r--generic/tkFont.c3
-rw-r--r--generic/tkFrame.c3
-rw-r--r--generic/tkGC.c3
-rw-r--r--generic/tkGeometry.c3
-rw-r--r--generic/tkGet.c3
-rw-r--r--generic/tkGrab.c3
-rw-r--r--generic/tkImage.c3
-rw-r--r--generic/tkImgBmap.c3
-rw-r--r--generic/tkImgGIF.c3
-rw-r--r--generic/tkImgPPM.c3
-rw-r--r--generic/tkImgPhoto.c3
-rw-r--r--generic/tkImgUtil.c3
-rw-r--r--generic/tkListbox.c3
-rw-r--r--generic/tkMacWinMenu.c3
-rw-r--r--generic/tkMain.c6
-rw-r--r--generic/tkMenu.c4
-rw-r--r--generic/tkMenuDraw.c3
-rw-r--r--generic/tkMenubutton.c4
-rw-r--r--generic/tkMessage.c3
-rw-r--r--generic/tkOldConfig.c3
-rw-r--r--generic/tkOption.c3
-rw-r--r--generic/tkPack.c3
-rw-r--r--generic/tkPanedWindow.c3
-rw-r--r--generic/tkPlace.c3
-rw-r--r--generic/tkRectOval.c4
-rw-r--r--generic/tkScale.c3
-rw-r--r--generic/tkScrollbar.c4
-rw-r--r--generic/tkSquare.c4
-rw-r--r--generic/tkStubInit.c8
-rw-r--r--generic/tkStubLib.c11
-rw-r--r--generic/tkTest.c3
-rw-r--r--generic/tkText.c3
-rw-r--r--generic/tkTextBTree.c3
-rw-r--r--generic/tkTextDisp.c3
-rw-r--r--generic/tkTextImage.c5
-rw-r--r--generic/tkTextIndex.c3
-rw-r--r--generic/tkTextMark.c3
-rw-r--r--generic/tkTextTag.c3
-rw-r--r--generic/tkTextWind.c5
-rw-r--r--generic/tkTrig.c3
-rw-r--r--generic/tkUndo.c3
-rw-r--r--generic/tkUtil.c3
-rw-r--r--generic/tkVisual.c3
-rw-r--r--generic/tkWindow.c3
-rw-r--r--unix/tkUnix.c4
-rw-r--r--unix/tkUnix3d.c5
-rw-r--r--unix/tkUnixButton.c3
-rw-r--r--unix/tkUnixColor.c5
-rw-r--r--unix/tkUnixConfig.c3
-rw-r--r--unix/tkUnixCursor.c3
-rw-r--r--unix/tkUnixDialog.c4
-rw-r--r--unix/tkUnixDraw.c3
-rw-r--r--unix/tkUnixEmbed.c3
-rw-r--r--unix/tkUnixEvent.c3
-rw-r--r--unix/tkUnixFocus.c4
-rw-r--r--unix/tkUnixInit.c3
-rw-r--r--unix/tkUnixMenu.c4
-rw-r--r--unix/tkUnixMenubu.c3
-rw-r--r--unix/tkUnixScale.c4
-rw-r--r--unix/tkUnixScrlbr.c3
-rw-r--r--unix/tkUnixSend.c4
-rw-r--r--unix/tkUnixWm.c4
-rw-r--r--unix/tkUnixXId.c3
-rw-r--r--win/tkWinConfig.c4
-rw-r--r--win/tkWinSend.c3
-rw-r--r--win/tkWinSendCom.c3
-rw-r--r--win/ttkWinMonitor.c4
-rw-r--r--win/ttkWinTheme.c3
-rw-r--r--win/winMain.c5
92 files changed, 123 insertions, 194 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c
index 77c118e..ae6bb9e 100644
--- a/generic/tk3d.c
+++ b/generic/tk3d.c
@@ -10,9 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tk3d.c,v 1.17 2007/01/03 04:10:48 nijtmans Exp $
+ * RCS: @(#) $Id: tk3d.c,v 1.18 2007/09/07 00:34:51 dgp Exp $
*/
+#include "tkInt.h"
#include "tk3d.h"
/*
diff --git a/generic/tkArgv.c b/generic/tkArgv.c
index a138221..0cfa668 100644
--- a/generic/tkArgv.c
+++ b/generic/tkArgv.c
@@ -10,11 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkArgv.c,v 1.7 2007/06/25 19:07:15 dgp Exp $
+ * RCS: @(#) $Id: tkArgv.c,v 1.8 2007/09/07 00:34:51 dgp Exp $
*/
#include "tkPort.h"
-#include "tk.h"
/*
* Default table of argument descriptors. These are normally available in
diff --git a/generic/tkAtom.c b/generic/tkAtom.c
index 7e370d7..f3e5324 100644
--- a/generic/tkAtom.c
+++ b/generic/tkAtom.c
@@ -12,10 +12,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkAtom.c,v 1.5 2005/11/17 10:57:35 dkf Exp $
+ * RCS: @(#) $Id: tkAtom.c,v 1.6 2007/09/07 00:34:51 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkBind.c b/generic/tkBind.c
index 4f37426..d834f0e 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -11,10 +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: tkBind.c,v 1.42 2007/01/18 23:56:43 nijtmans Exp $
+ * RCS: @(#) $Id: tkBind.c,v 1.43 2007/09/07 00:34:51 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#ifdef __WIN32__
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c
index c8d83fd..8fa32c1 100644
--- a/generic/tkBitmap.c
+++ b/generic/tkBitmap.c
@@ -11,10 +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: tkBitmap.c,v 1.18 2007/06/25 02:04:27 das Exp $
+ * RCS: @(#) $Id: tkBitmap.c,v 1.19 2007/09/07 00:34:51 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkButton.c b/generic/tkButton.c
index 8794b47..d5e7f6f 100644
--- a/generic/tkButton.c
+++ b/generic/tkButton.c
@@ -11,9 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkButton.c,v 1.26 2007/01/05 00:00:50 nijtmans Exp $
+ * RCS: @(#) $Id: tkButton.c,v 1.27 2007/09/07 00:34:51 dgp Exp $
*/
+#include "tkInt.h"
#include "tkButton.h"
#include "default.h"
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c
index 200f737..77273fc 100644
--- a/generic/tkCanvArc.c
+++ b/generic/tkCanvArc.c
@@ -9,11 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvArc.c,v 1.14 2005/11/04 23:41:56 dkf Exp $
+ * RCS: @(#) $Id: tkCanvArc.c,v 1.15 2007/09/07 00:34:51 dgp Exp $
*/
#include <stdio.h>
-#include "tkPort.h"
#include "tkInt.h"
#include "tkCanvas.h"
diff --git a/generic/tkCanvBmap.c b/generic/tkCanvBmap.c
index ad0b9cd..18c929f 100644
--- a/generic/tkCanvBmap.c
+++ b/generic/tkCanvBmap.c
@@ -9,12 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvBmap.c,v 1.12 2005/11/04 15:23:05 dkf Exp $
+ * RCS: @(#) $Id: tkCanvBmap.c,v 1.13 2007/09/07 00:34:51 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
/*
diff --git a/generic/tkCanvImg.c b/generic/tkCanvImg.c
index d4c4486..cca0e17 100644
--- a/generic/tkCanvImg.c
+++ b/generic/tkCanvImg.c
@@ -9,12 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvImg.c,v 1.9 2005/11/04 15:23:05 dkf Exp $
+ * RCS: @(#) $Id: tkCanvImg.c,v 1.10 2007/09/07 00:34:51 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
/*
diff --git a/generic/tkCanvLine.c b/generic/tkCanvLine.c
index f76f817..a0dfc49 100644
--- a/generic/tkCanvLine.c
+++ b/generic/tkCanvLine.c
@@ -10,12 +10,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvLine.c,v 1.20 2007/02/12 21:34:39 dkf Exp $
+ * RCS: @(#) $Id: tkCanvLine.c,v 1.21 2007/09/07 00:34:51 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
/*
diff --git a/generic/tkCanvPoly.c b/generic/tkCanvPoly.c
index 7338d6d..acd1611 100644
--- a/generic/tkCanvPoly.c
+++ b/generic/tkCanvPoly.c
@@ -10,12 +10,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvPoly.c,v 1.16 2006/10/16 15:35:28 das Exp $
+ * RCS: @(#) $Id: tkCanvPoly.c,v 1.17 2007/09/07 00:34:51 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
/*
diff --git a/generic/tkCanvPs.c b/generic/tkCanvPs.c
index a650d46..b3d2dbc 100644
--- a/generic/tkCanvPs.c
+++ b/generic/tkCanvPs.c
@@ -11,12 +11,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvPs.c,v 1.17 2007/05/03 15:21:32 dkf Exp $
+ * RCS: @(#) $Id: tkCanvPs.c,v 1.18 2007/09/07 00:34:51 dgp Exp $
*/
#include "tkInt.h"
#include "tkCanvas.h"
-#include "tkPort.h"
/*
* See tkCanvas.h for key data structures used to implement canvases.
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c
index b6f8878..7fff944 100644
--- a/generic/tkCanvText.c
+++ b/generic/tkCanvText.c
@@ -9,13 +9,12 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvText.c,v 1.24 2007/04/23 21:15:17 das Exp $
+ * RCS: @(#) $Id: tkCanvText.c,v 1.25 2007/09/07 00:34:52 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
#include "tkCanvas.h"
-#include "tkPort.h"
#include "default.h"
/*
diff --git a/generic/tkCanvUtil.c b/generic/tkCanvUtil.c
index 0815df5..d92ef81 100644
--- a/generic/tkCanvUtil.c
+++ b/generic/tkCanvUtil.c
@@ -9,12 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvUtil.c,v 1.15 2007/01/19 00:36:45 das Exp $
+ * RCS: @(#) $Id: tkCanvUtil.c,v 1.16 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
#include "tkCanvas.h"
-#include "tkPort.h"
#include <assert.h>
/*
diff --git a/generic/tkCanvWind.c b/generic/tkCanvWind.c
index 27cf963..2d4a096 100644
--- a/generic/tkCanvWind.c
+++ b/generic/tkCanvWind.c
@@ -9,12 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvWind.c,v 1.14 2007/01/05 00:00:51 nijtmans Exp $
+ * RCS: @(#) $Id: tkCanvWind.c,v 1.15 2007/09/07 00:34:52 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
/*
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index 3a60a2b..1fe03eb 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -12,14 +12,13 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCanvas.c,v 1.43 2007/04/23 21:15:18 das Exp $
+ * RCS: @(#) $Id: tkCanvas.c,v 1.44 2007/09/07 00:34:52 dgp Exp $
*/
/* #define USE_OLD_TAG_SEARCH 1 */
#include "default.h"
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
#ifdef TK_NO_DOUBLE_BUFFERING
#ifdef MAC_OSX_TK
diff --git a/generic/tkClipboard.c b/generic/tkClipboard.c
index bf4876d..0caae15 100644
--- a/generic/tkClipboard.c
+++ b/generic/tkClipboard.c
@@ -11,11 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkClipboard.c,v 1.15 2005/11/17 16:21:55 dkf Exp $
+ * RCS: @(#) $Id: tkClipboard.c,v 1.16 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
#include "tkSelect.h"
/*
diff --git a/generic/tkCmds.c b/generic/tkCmds.c
index 04d1dc9..5bc1710 100644
--- a/generic/tkCmds.c
+++ b/generic/tkCmds.c
@@ -11,10 +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: tkCmds.c,v 1.39 2007/01/18 23:56:43 nijtmans Exp $
+ * RCS: @(#) $Id: tkCmds.c,v 1.40 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#if defined(WIN32)
diff --git a/generic/tkColor.c b/generic/tkColor.c
index 7619b99..52f2a6e 100644
--- a/generic/tkColor.c
+++ b/generic/tkColor.c
@@ -11,9 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkColor.c,v 1.14 2007/02/12 21:45:41 dkf Exp $
+ * RCS: @(#) $Id: tkColor.c,v 1.15 2007/09/07 00:34:52 dgp Exp $
*/
+#include "tkInt.h"
#include "tkColor.h"
/*
diff --git a/generic/tkConfig.c b/generic/tkConfig.c
index 614d244..471e3a1 100644
--- a/generic/tkConfig.c
+++ b/generic/tkConfig.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkConfig.c,v 1.24 2007/05/03 21:53:13 dkf Exp $
+ * RCS: @(#) $Id: tkConfig.c,v 1.25 2007/09/07 00:34:52 dgp Exp $
*/
/*
@@ -25,9 +25,7 @@
#define __NO_OLD_CONFIG
#endif
-#include "tk.h"
#include "tkInt.h"
-#include "tkPort.h"
#include "tkFont.h"
/*
diff --git a/generic/tkCursor.c b/generic/tkCursor.c
index bf3ab05..2b67017 100644
--- a/generic/tkCursor.c
+++ b/generic/tkCursor.c
@@ -11,10 +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: tkCursor.c,v 1.15 2007/01/03 04:10:54 nijtmans Exp $
+ * RCS: @(#) $Id: tkCursor.c,v 1.16 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkError.c b/generic/tkError.c
index fe84fe3..191c2b2 100644
--- a/generic/tkError.c
+++ b/generic/tkError.c
@@ -12,10 +12,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkError.c,v 1.4 2005/11/15 15:18:21 dkf Exp $
+ * RCS: @(#) $Id: tkError.c,v 1.5 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkFocus.c b/generic/tkFocus.c
index 5e667db..4b929c5 100644
--- a/generic/tkFocus.c
+++ b/generic/tkFocus.c
@@ -9,11 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFocus.c,v 1.13 2005/11/16 09:28:21 dkf Exp $
+ * RCS: @(#) $Id: tkFocus.c,v 1.14 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* For each top-level window that has ever received the focus, there is a
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 7a0b6fa..2ad6a91 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -10,10 +10,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFont.c,v 1.38 2007/06/25 02:04:27 das Exp $
+ * RCS: @(#) $Id: tkFont.c,v 1.39 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#include "tkFont.h"
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index 4af642d..0ea4111 100644
--- a/generic/tkFrame.c
+++ b/generic/tkFrame.c
@@ -11,11 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFrame.c,v 1.28 2007/04/23 21:15:18 das Exp $
+ * RCS: @(#) $Id: tkFrame.c,v 1.29 2007/09/07 00:34:52 dgp Exp $
*/
#include "default.h"
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkGC.c b/generic/tkGC.c
index d0c8091..0916995 100644
--- a/generic/tkGC.c
+++ b/generic/tkGC.c
@@ -10,10 +10,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGC.c,v 1.7 2005/11/17 10:57:35 dkf Exp $
+ * RCS: @(#) $Id: tkGC.c,v 1.8 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkGeometry.c b/generic/tkGeometry.c
index f7e42c3..318ead5 100644
--- a/generic/tkGeometry.c
+++ b/generic/tkGeometry.c
@@ -10,10 +10,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGeometry.c,v 1.10 2007/02/12 21:57:44 dkf Exp $
+ * RCS: @(#) $Id: tkGeometry.c,v 1.11 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkGet.c b/generic/tkGet.c
index b58ae03..1f425af 100644
--- a/generic/tkGet.c
+++ b/generic/tkGet.c
@@ -12,11 +12,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGet.c,v 1.11 2005/11/07 15:58:21 dkf Exp $
+ * RCS: @(#) $Id: tkGet.c,v 1.12 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* One of these structures is created per thread to store thread-specific
diff --git a/generic/tkGrab.c b/generic/tkGrab.c
index b9b1d3d..1da4990 100644
--- a/generic/tkGrab.c
+++ b/generic/tkGrab.c
@@ -9,10 +9,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGrab.c,v 1.11 2005/11/14 22:44:11 dkf Exp $
+ * RCS: @(#) $Id: tkGrab.c,v 1.12 2007/09/07 00:34:52 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#if !(defined(__WIN32__) || defined(MAC_OSX_TK))
diff --git a/generic/tkImage.c b/generic/tkImage.c
index bb78315..3688284 100644
--- a/generic/tkImage.c
+++ b/generic/tkImage.c
@@ -10,11 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkImage.c,v 1.32 2007/05/14 20:58:27 dgp Exp $
+ * RCS: @(#) $Id: tkImage.c,v 1.33 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* Each call to Tk_GetImage returns a pointer to one of the following
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c
index 7bae9fe..190a6e7 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -10,11 +10,10 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkImgBmap.c,v 1.20 2006/10/19 00:48:25 patthoyts Exp $
+ * RCS: @(#) $Id: tkImgBmap.c,v 1.21 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* The following data structure represents the master for a bitmap
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index c2bc318..ec4e5fb 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -32,7 +32,7 @@
* This file also contains code from miGIF. See lower down in file for the
* applicable copyright notice for that portion.
*
- * RCS: @(#) $Id: tkImgGIF.c,v 1.35 2007/01/12 09:08:36 dkf Exp $
+ * RCS: @(#) $Id: tkImgGIF.c,v 1.36 2007/09/07 00:34:52 dgp Exp $
*/
/*
@@ -62,7 +62,6 @@ typedef struct mFile {
} MFile;
#include "tkInt.h"
-#include "tkPort.h"
/*
* Non-ASCII encoding support:
diff --git a/generic/tkImgPPM.c b/generic/tkImgPPM.c
index fe79ab1..45063c9 100644
--- a/generic/tkImgPPM.c
+++ b/generic/tkImgPPM.c
@@ -13,11 +13,10 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPPM.c,v 1.18 2007/06/25 19:07:15 dgp Exp $
+ * RCS: @(#) $Id: tkImgPPM.c,v 1.19 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* The maximum amount of memory to allocate for data read from the file. If we
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 626d38f..7917c50 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -17,11 +17,10 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPhoto.c,v 1.72 2007/06/25 02:04:27 das Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.73 2007/09/07 00:34:52 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
#include <ctype.h>
#ifdef __WIN32__
diff --git a/generic/tkImgUtil.c b/generic/tkImgUtil.c
index 3c1accf..05af524 100644
--- a/generic/tkImgUtil.c
+++ b/generic/tkImgUtil.c
@@ -8,11 +8,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkImgUtil.c,v 1.5 2007/01/11 15:35:39 dkf Exp $
+ * RCS: @(#) $Id: tkImgUtil.c,v 1.6 2007/09/07 00:34:53 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
#include "xbytes.h"
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index 87d82c1..614ea7f 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -11,10 +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: tkListbox.c,v 1.40 2007/04/23 21:15:18 das Exp $
+ * RCS: @(#) $Id: tkListbox.c,v 1.41 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "default.h"
#include "tkInt.h"
diff --git a/generic/tkMacWinMenu.c b/generic/tkMacWinMenu.c
index fa8dff6..da71310 100644
--- a/generic/tkMacWinMenu.c
+++ b/generic/tkMacWinMenu.c
@@ -9,9 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacWinMenu.c,v 1.4 2005/11/14 22:44:11 dkf Exp $
+ * RCS: @(#) $Id: tkMacWinMenu.c,v 1.5 2007/09/07 00:34:53 dgp Exp $
*/
+#include "tkInt.h"
#include "tkMenu.h"
typedef struct ThreadSpecificData {
diff --git a/generic/tkMain.c b/generic/tkMain.c
index bf478fc..ee9f004 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -13,15 +13,13 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMain.c,v 1.23 2007/03/07 23:46:33 das Exp $
+ * RCS: @(#) $Id: tkMain.c,v 1.24 2007/09/07 00:34:53 dgp Exp $
*/
#include <ctype.h>
#include <stdio.h>
#include <string.h>
-#include <tcl.h>
-#include <tclInt.h>
-#include <tk.h>
+#include "tclInt.h"
#include "tkInt.h"
#ifdef NO_STDLIB_H
# include "../compat/stdlib.h"
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index f46ebea..3aa747b 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -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: tkMenu.c,v 1.39 2007/06/24 16:07:35 dkf Exp $
+ * RCS: @(#) $Id: tkMenu.c,v 1.40 2007/09/07 00:34:53 dgp Exp $
*/
/*
@@ -74,7 +74,7 @@
#define __NO_OLD_CONFIG
#endif
-#include "tkPort.h"
+#include "tkInt.h"
#include "tkMenu.h"
#define MENU_HASH_KEY "tkMenus"
diff --git a/generic/tkMenuDraw.c b/generic/tkMenuDraw.c
index e64cce7..ad7429a 100644
--- a/generic/tkMenuDraw.c
+++ b/generic/tkMenuDraw.c
@@ -9,9 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenuDraw.c,v 1.8 2005/11/15 15:18:21 dkf Exp $
+ * RCS: @(#) $Id: tkMenuDraw.c,v 1.9 2007/09/07 00:34:53 dgp Exp $
*/
+#include "tkInt.h"
#include "tkMenu.h"
/*
diff --git a/generic/tkMenubutton.c b/generic/tkMenubutton.c
index ebffdb7..73fcb8f 100644
--- a/generic/tkMenubutton.c
+++ b/generic/tkMenubutton.c
@@ -10,11 +10,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenubutton.c,v 1.16 2007/06/24 16:07:35 dkf Exp $
+ * RCS: @(#) $Id: tkMenubutton.c,v 1.17 2007/09/07 00:34:53 dgp Exp $
*/
+#include "tkInt.h"
#include "tkMenubutton.h"
-#include "tkPort.h"
#include "default.h"
/*
diff --git a/generic/tkMessage.c b/generic/tkMessage.c
index 6392d76..4eccb58 100644
--- a/generic/tkMessage.c
+++ b/generic/tkMessage.c
@@ -12,10 +12,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMessage.c,v 1.17 2007/01/03 05:06:26 nijtmans Exp $
+ * RCS: @(#) $Id: tkMessage.c,v 1.18 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "default.h"
#include "tkInt.h"
diff --git a/generic/tkOldConfig.c b/generic/tkOldConfig.c
index 944c4ef..0c91e90 100644
--- a/generic/tkOldConfig.c
+++ b/generic/tkOldConfig.c
@@ -11,11 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkOldConfig.c,v 1.21 2007/02/13 00:30:19 dkf Exp $
+ * RCS: @(#) $Id: tkOldConfig.c,v 1.22 2007/09/07 00:34:53 dgp Exp $
*/
#include "tkPort.h"
-#include "tk.h"
/*
* Values for "flags" field of Tk_ConfigSpec structures. Be sure to coordinate
diff --git a/generic/tkOption.c b/generic/tkOption.c
index 64d53ca..254443b 100644
--- a/generic/tkOption.c
+++ b/generic/tkOption.c
@@ -11,10 +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: tkOption.c,v 1.21 2007/06/24 16:07:35 dkf Exp $
+ * RCS: @(#) $Id: tkOption.c,v 1.22 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkPack.c b/generic/tkPack.c
index 67074f7..482a337 100644
--- a/generic/tkPack.c
+++ b/generic/tkPack.c
@@ -10,10 +10,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkPack.c,v 1.25 2007/01/05 00:00:51 nijtmans Exp $
+ * RCS: @(#) $Id: tkPack.c,v 1.26 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
typedef enum {TOP, BOTTOM, LEFT, RIGHT} Side;
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index c5379df..f67aa00 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -12,10 +12,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkPanedWindow.c,v 1.28 2007/04/23 21:15:18 das Exp $
+ * RCS: @(#) $Id: tkPanedWindow.c,v 1.29 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "default.h"
#include "tkInt.h"
diff --git a/generic/tkPlace.c b/generic/tkPlace.c
index 6fc36ef..5272d31 100644
--- a/generic/tkPlace.c
+++ b/generic/tkPlace.c
@@ -10,10 +10,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkPlace.c,v 1.21 2007/06/24 16:07:35 dkf Exp $
+ * RCS: @(#) $Id: tkPlace.c,v 1.22 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/generic/tkRectOval.c b/generic/tkRectOval.c
index b0fb6be..034b725 100644
--- a/generic/tkRectOval.c
+++ b/generic/tkRectOval.c
@@ -9,13 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkRectOval.c,v 1.15 2006/10/16 15:35:28 das Exp $
+ * RCS: @(#) $Id: tkRectOval.c,v 1.16 2007/09/07 00:34:53 dgp Exp $
*/
#include <stdio.h>
-#include "tk.h"
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
/*
diff --git a/generic/tkScale.c b/generic/tkScale.c
index 39de74f..42b88b5 100644
--- a/generic/tkScale.c
+++ b/generic/tkScale.c
@@ -16,10 +16,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkScale.c,v 1.25 2007/06/24 16:07:35 dkf Exp $
+ * RCS: @(#) $Id: tkScale.c,v 1.26 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#include "default.h"
#include "tkInt.h"
#include "tkScale.h"
diff --git a/generic/tkScrollbar.c b/generic/tkScrollbar.c
index c73aca7..3ac932f 100644
--- a/generic/tkScrollbar.c
+++ b/generic/tkScrollbar.c
@@ -11,10 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkScrollbar.c,v 1.8 2005/11/17 10:57:35 dkf Exp $
+ * RCS: @(#) $Id: tkScrollbar.c,v 1.9 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
+#include "tkInt.h"
#include "tkScrollbar.h"
#include "default.h"
diff --git a/generic/tkSquare.c b/generic/tkSquare.c
index d0b8836..1a6731f 100644
--- a/generic/tkSquare.c
+++ b/generic/tkSquare.c
@@ -12,12 +12,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkSquare.c,v 1.7 2007/01/03 05:06:26 nijtmans Exp $
+ * RCS: @(#) $Id: tkSquare.c,v 1.8 2007/09/07 00:34:53 dgp Exp $
*/
-#include "tkPort.h"
#define __NO_OLD_CONFIG
-#include "tk.h"
#include "tkInt.h"
/*
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c
index 9a9674e..5d0b6db 100644
--- a/generic/tkStubInit.c
+++ b/generic/tkStubInit.c
@@ -8,15 +8,15 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkStubInit.c,v 1.57 2007/05/14 20:58:27 dgp Exp $
+ * RCS: @(#) $Id: tkStubInit.c,v 1.58 2007/09/07 00:34:53 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
#if !(defined(__WIN32__) || defined(MAC_OSX_TK))
/* UNIX */
#define UNIX_TK
+#include "tkUnixInt.h"
#endif
#ifdef __WIN32__
@@ -28,10 +28,8 @@
#include "tkMacOSXInt.h"
#endif
-#include "tkDecls.h"
+/* TODO: These ought to come in some other way */
#include "tkPlatDecls.h"
-#include "tkIntDecls.h"
-#include "tkIntPlatDecls.h"
#include "tkIntXlibDecls.h"
/*
diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c
index 43721d8..93033ae 100644
--- a/generic/tkStubLib.c
+++ b/generic/tkStubLib.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: tkStubLib.c,v 1.14 2007/05/16 18:35:20 jenglish Exp $
+ * RCS: @(#) $Id: tkStubLib.c,v 1.15 2007/09/07 00:34:53 dgp Exp $
*/
/*
@@ -30,7 +30,6 @@
#endif
#undef USE_TK_STUB_PROCS
-#include "tkPort.h"
#include "tkInt.h"
#ifdef __WIN32__
@@ -41,10 +40,12 @@
#include "tkMacOSXInt.h"
#endif
-#include "tkDecls.h"
-#include "tkIntDecls.h"
+#if !(defined(__WIN32__) || defined(MAC_OSX_TK))
+#include "tkUnixInt.h"
+#endif
+
+/* TODO: These ought to come in some other way */
#include "tkPlatDecls.h"
-#include "tkIntPlatDecls.h"
#include "tkIntXlibDecls.h"
TkStubs *tkStubsPtr;
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 22b0482..1bad089 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -13,11 +13,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTest.c,v 1.33 2007/09/04 22:03:18 jenglish Exp $
+ * RCS: @(#) $Id: tkTest.c,v 1.34 2007/09/07 00:34:53 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
#include "tkText.h"
#ifdef __WIN32__
diff --git a/generic/tkText.c b/generic/tkText.c
index 7054262..5c18277 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -13,11 +13,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkText.c,v 1.75 2007/04/23 21:15:18 das Exp $
+ * RCS: @(#) $Id: tkText.c,v 1.76 2007/09/07 00:34:54 dgp Exp $
*/
#include "default.h"
-#include "tkPort.h"
#include "tkInt.h"
#include "tkUndo.h"
diff --git a/generic/tkTextBTree.c b/generic/tkTextBTree.c
index 912dc90..d2b5d92 100644
--- a/generic/tkTextBTree.c
+++ b/generic/tkTextBTree.c
@@ -11,11 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextBTree.c,v 1.25 2007/02/23 13:37:49 das Exp $
+ * RCS: @(#) $Id: tkTextBTree.c,v 1.26 2007/09/07 00:34:54 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
#include "tkText.h"
/*
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 2deca4e..d5d827d 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -12,10 +12,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextDisp.c,v 1.64 2007/05/31 13:31:26 das Exp $
+ * RCS: @(#) $Id: tkTextDisp.c,v 1.65 2007/09/07 00:34:54 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#include "tkText.h"
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c
index d290250..5f08da7 100644
--- a/generic/tkTextImage.c
+++ b/generic/tkTextImage.c
@@ -9,12 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextImage.c,v 1.19 2007/01/18 23:20:37 nijtmans Exp $
+ * RCS: @(#) $Id: tkTextImage.c,v 1.20 2007/09/07 00:34:54 dgp Exp $
*/
-#include "tk.h"
-#include "tkText.h"
#include "tkPort.h"
+#include "tkText.h"
/*
* Macro that determines the size of an embedded image segment:
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index 511806b..d363128 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -10,11 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextIndex.c,v 1.25 2007/02/22 13:56:33 dkf Exp $
+ * RCS: @(#) $Id: tkTextIndex.c,v 1.26 2007/09/07 00:34:54 dgp Exp $
*/
#include "default.h"
-#include "tkPort.h"
#include "tkInt.h"
#include "tkText.h"
diff --git a/generic/tkTextMark.c b/generic/tkTextMark.c
index d1b5b87..449cc24 100644
--- a/generic/tkTextMark.c
+++ b/generic/tkTextMark.c
@@ -10,12 +10,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextMark.c,v 1.18 2007/02/22 13:56:33 dkf Exp $
+ * RCS: @(#) $Id: tkTextMark.c,v 1.19 2007/09/07 00:34:54 dgp Exp $
*/
#include "tkInt.h"
#include "tkText.h"
-#include "tkPort.h"
/*
* Macro that determines the size of a mark segment:
diff --git a/generic/tkTextTag.c b/generic/tkTextTag.c
index c3552c8..e1332db 100644
--- a/generic/tkTextTag.c
+++ b/generic/tkTextTag.c
@@ -11,11 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextTag.c,v 1.25 2007/02/22 13:56:33 dkf Exp $
+ * RCS: @(#) $Id: tkTextTag.c,v 1.26 2007/09/07 00:34:54 dgp Exp $
*/
#include "default.h"
-#include "tkPort.h"
#include "tkInt.h"
#include "tkText.h"
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index 62d8b72..729f67f 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.c
@@ -11,12 +11,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextWind.c,v 1.21 2007/02/22 13:56:33 dkf Exp $
+ * RCS: @(#) $Id: tkTextWind.c,v 1.22 2007/09/07 00:34:54 dgp Exp $
*/
-#include "tk.h"
-#include "tkText.h"
#include "tkPort.h"
+#include "tkText.h"
/*
* The following structure is the official type record for the embedded window
diff --git a/generic/tkTrig.c b/generic/tkTrig.c
index e4f20a0..9c8d077 100644
--- a/generic/tkTrig.c
+++ b/generic/tkTrig.c
@@ -11,12 +11,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTrig.c,v 1.7 2005/11/17 16:21:56 dkf Exp $
+ * RCS: @(#) $Id: tkTrig.c,v 1.8 2007/09/07 00:34:54 dgp Exp $
*/
#include <stdio.h>
#include "tkInt.h"
-#include "tkPort.h"
#include "tkCanvas.h"
#undef MIN
diff --git a/generic/tkUndo.c b/generic/tkUndo.c
index a540260..fcc24af 100644
--- a/generic/tkUndo.c
+++ b/generic/tkUndo.c
@@ -9,9 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUndo.c,v 1.11 2007/02/13 00:02:23 dkf Exp $
+ * RCS: @(#) $Id: tkUndo.c,v 1.12 2007/09/07 00:34:54 dgp Exp $
*/
+#include "tkInt.h"
#include "tkUndo.h"
static int EvaluateActionList(Tcl_Interp *interp,
diff --git a/generic/tkUtil.c b/generic/tkUtil.c
index 05a76d2..37dc093 100644
--- a/generic/tkUtil.c
+++ b/generic/tkUtil.c
@@ -10,11 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUtil.c,v 1.17 2007/02/25 04:30:30 pspjuth Exp $
+ * RCS: @(#) $Id: tkUtil.c,v 1.18 2007/09/07 00:34:54 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* The structure below defines the implementation of the "statekey" Tcl
diff --git a/generic/tkVisual.c b/generic/tkVisual.c
index b8cd42f..7c79ea2 100644
--- a/generic/tkVisual.c
+++ b/generic/tkVisual.c
@@ -11,11 +11,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkVisual.c,v 1.7 2005/11/15 15:18:22 dkf Exp $
+ * RCS: @(#) $Id: tkVisual.c,v 1.8 2007/09/07 00:34:54 dgp Exp $
*/
#include "tkInt.h"
-#include "tkPort.h"
/*
* The table below maps from symbolic names for visual classes to the
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 2397347..1290ba4 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -11,10 +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: tkWindow.c,v 1.81 2007/09/06 19:33:55 dgp Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.82 2007/09/07 00:34:54 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#if !( defined(__WIN32__) || defined(MAC_OSX_TK))
diff --git a/unix/tkUnix.c b/unix/tkUnix.c
index 993bc9d..5399956 100644
--- a/unix/tkUnix.c
+++ b/unix/tkUnix.c
@@ -10,10 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnix.c,v 1.13 2006/07/20 06:25:20 das Exp $
+ * RCS: @(#) $Id: tkUnix.c,v 1.14 2007/09/07 00:34:57 dgp Exp $
*/
-#include <tkInt.h>
+#include "tkInt.h"
#ifdef HAVE_XSS
#include <X11/extensions/scrnsaver.h>
#endif
diff --git a/unix/tkUnix3d.c b/unix/tkUnix3d.c
index 63e6161..8710483 100644
--- a/unix/tkUnix3d.c
+++ b/unix/tkUnix3d.c
@@ -9,10 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnix3d.c,v 1.10 2005/11/13 21:00:17 dkf Exp $
+ * RCS: @(#) $Id: tkUnix3d.c,v 1.11 2007/09/07 00:34:57 dgp Exp $
*/
-#include <tk3d.h>
+#include "tkInt.h"
+#include "tk3d.h"
#if !(defined(__WIN32__) || defined(MAC_OSX_TK))
#include "tkUnixInt.h"
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c
index 9a0ff1c..dcdba82 100644
--- a/unix/tkUnixButton.c
+++ b/unix/tkUnixButton.c
@@ -8,9 +8,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixButton.c,v 1.23 2007/02/27 14:52:56 dkf Exp $
+ * RCS: @(#) $Id: tkUnixButton.c,v 1.24 2007/09/07 00:34:57 dgp Exp $
*/
+#include "tkInt.h"
#include "tkButton.h"
#include "tk3d.h"
diff --git a/unix/tkUnixColor.c b/unix/tkUnixColor.c
index e32233b..7e4c4d7 100644
--- a/unix/tkUnixColor.c
+++ b/unix/tkUnixColor.c
@@ -9,10 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixColor.c,v 1.4 2005/10/21 01:51:44 dkf Exp $
+ * RCS: @(#) $Id: tkUnixColor.c,v 1.5 2007/09/07 00:34:57 dgp Exp $
*/
-#include <tkColor.h>
+#include "tkInt.h"
+#include "tkColor.h"
/*
* If a colormap fills up, attempts to allocate new colors from that colormap
diff --git a/unix/tkUnixConfig.c b/unix/tkUnixConfig.c
index b063fb3..0ddc1f6 100644
--- a/unix/tkUnixConfig.c
+++ b/unix/tkUnixConfig.c
@@ -9,10 +9,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixConfig.c,v 1.4 2005/11/13 21:00:17 dkf Exp $
+ * RCS: @(#) $Id: tkUnixConfig.c,v 1.5 2007/09/07 00:34:57 dgp Exp $
*/
-#include "tk.h"
#include "tkInt.h"
diff --git a/unix/tkUnixCursor.c b/unix/tkUnixCursor.c
index 1430ad9..130d9d6 100644
--- a/unix/tkUnixCursor.c
+++ b/unix/tkUnixCursor.c
@@ -8,10 +8,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixCursor.c,v 1.10 2006/12/19 08:53:38 dkf Exp $
+ * RCS: @(#) $Id: tkUnixCursor.c,v 1.11 2007/09/07 00:34:57 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
/*
diff --git a/unix/tkUnixDialog.c b/unix/tkUnixDialog.c
index e4a1d86..7914541 100644
--- a/unix/tkUnixDialog.c
+++ b/unix/tkUnixDialog.c
@@ -8,12 +8,10 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixDialog.c,v 1.4 2005/11/13 21:00:17 dkf Exp $
+ * RCS: @(#) $Id: tkUnixDialog.c,v 1.5 2007/09/07 00:34:58 dgp Exp $
*
*/
-#include "tkPort.h"
-#include "tkInt.h"
#include "tkUnixInt.h"
/*
diff --git a/unix/tkUnixDraw.c b/unix/tkUnixDraw.c
index 074bdad..0f3754c 100644
--- a/unix/tkUnixDraw.c
+++ b/unix/tkUnixDraw.c
@@ -8,10 +8,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixDraw.c,v 1.9 2005/11/14 11:54:21 dkf Exp $
+ * RCS: @(#) $Id: tkUnixDraw.c,v 1.10 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkPort.h"
#include "tkInt.h"
#if !defined(__WIN32__)
diff --git a/unix/tkUnixEmbed.c b/unix/tkUnixEmbed.c
index c06cbdc..4929d81 100644
--- a/unix/tkUnixEmbed.c
+++ b/unix/tkUnixEmbed.c
@@ -11,10 +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: tkUnixEmbed.c,v 1.10 2006/05/29 22:21:40 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixEmbed.c,v 1.11 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkInt.h"
#include "tkUnixInt.h"
/*
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index dde8432..7b45747 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -9,10 +9,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixEvent.c,v 1.24 2007/05/03 22:16:00 dkf Exp $
+ * RCS: @(#) $Id: tkUnixEvent.c,v 1.25 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkInt.h"
#include "tkUnixInt.h"
#include <signal.h>
diff --git a/unix/tkUnixFocus.c b/unix/tkUnixFocus.c
index 479ef61..2cfb282 100644
--- a/unix/tkUnixFocus.c
+++ b/unix/tkUnixFocus.c
@@ -9,11 +9,9 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixFocus.c,v 1.5 2005/10/21 01:51:45 dkf Exp $
+ * RCS: @(#) $Id: tkUnixFocus.c,v 1.6 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkInt.h"
-#include "tkPort.h"
#include "tkUnixInt.h"
diff --git a/unix/tkUnixInit.c b/unix/tkUnixInit.c
index b493c2a..b7c12e4 100644
--- a/unix/tkUnixInit.c
+++ b/unix/tkUnixInit.c
@@ -8,10 +8,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixInit.c,v 1.8 2007/09/06 19:34:02 dgp Exp $
+ * RCS: @(#) $Id: tkUnixInit.c,v 1.9 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkInt.h"
#include "tkUnixInt.h"
#ifdef HAVE_COREFOUNDATION
diff --git a/unix/tkUnixMenu.c b/unix/tkUnixMenu.c
index 445d22e..c87d904 100644
--- a/unix/tkUnixMenu.c
+++ b/unix/tkUnixMenu.c
@@ -8,12 +8,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixMenu.c,v 1.16 2007/02/27 14:52:57 dkf Exp $
+ * RCS: @(#) $Id: tkUnixMenu.c,v 1.17 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkPort.h"
#include "default.h"
-#include "tkInt.h"
#include "tkUnixInt.h"
#include "tkMenu.h"
diff --git a/unix/tkUnixMenubu.c b/unix/tkUnixMenubu.c
index 201e974..14112bc 100644
--- a/unix/tkUnixMenubu.c
+++ b/unix/tkUnixMenubu.c
@@ -9,9 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixMenubu.c,v 1.9 2007/04/25 17:08:51 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixMenubu.c,v 1.10 2007/09/07 00:34:58 dgp Exp $
*/
+#include "tkInt.h"
#include "tkMenubutton.h"
/*
diff --git a/unix/tkUnixScale.c b/unix/tkUnixScale.c
index f7970b5..c12eee3 100644
--- a/unix/tkUnixScale.c
+++ b/unix/tkUnixScale.c
@@ -9,11 +9,11 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixScale.c,v 1.11 2007/04/23 21:15:17 das Exp $
+ * RCS: @(#) $Id: tkUnixScale.c,v 1.12 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkScale.h"
#include "tkInt.h"
+#include "tkScale.h"
/*
* Forward declarations for functions defined later in this file:
diff --git a/unix/tkUnixScrlbr.c b/unix/tkUnixScrlbr.c
index 074fff3..63dbddb 100644
--- a/unix/tkUnixScrlbr.c
+++ b/unix/tkUnixScrlbr.c
@@ -9,9 +9,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixScrlbr.c,v 1.4 2005/11/13 21:00:17 dkf Exp $
+ * RCS: @(#) $Id: tkUnixScrlbr.c,v 1.5 2007/09/07 00:34:58 dgp Exp $
*/
+#include "tkInt.h"
#include "tkScrollbar.h"
/*
diff --git a/unix/tkUnixSend.c b/unix/tkUnixSend.c
index 7f038b7..fce1e75 100644
--- a/unix/tkUnixSend.c
+++ b/unix/tkUnixSend.c
@@ -11,11 +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: tkUnixSend.c,v 1.18 2007/05/03 22:16:00 dkf Exp $
+ * RCS: @(#) $Id: tkUnixSend.c,v 1.19 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkPort.h"
-#include "tkInt.h"
#include "tkUnixInt.h"
/*
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index f97f0ae..efddad2 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -12,11 +12,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixWm.c,v 1.55 2007/02/27 14:52:57 dkf Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.56 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tkPort.h"
-#include "tkInt.h"
#include "tkUnixInt.h"
/*
diff --git a/unix/tkUnixXId.c b/unix/tkUnixXId.c
index 37a621f..7f3446b 100644
--- a/unix/tkUnixXId.c
+++ b/unix/tkUnixXId.c
@@ -16,7 +16,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixXId.c,v 1.8 2005/10/21 01:51:45 dkf Exp $
+ * RCS: @(#) $Id: tkUnixXId.c,v 1.9 2007/09/07 00:34:58 dgp Exp $
*/
/*
@@ -28,7 +28,6 @@
#define XLIB_ILLEGAL_ACCESS 1
#include "tkUnixInt.h"
-#include "tkPort.h"
/*
* A structure of the following type is used to hold one or more available
diff --git a/win/tkWinConfig.c b/win/tkWinConfig.c
index 967ee86..c80200b 100644
--- a/win/tkWinConfig.c
+++ b/win/tkWinConfig.c
@@ -9,11 +9,9 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinConfig.c,v 1.4 2005/12/02 00:19:04 dkf Exp $
+ * RCS: @(#) $Id: tkWinConfig.c,v 1.5 2007/09/07 00:34:58 dgp Exp $
*/
-#include "tk.h"
-#include "tkInt.h"
#include "tkWinInt.h"
diff --git a/win/tkWinSend.c b/win/tkWinSend.c
index 3a064be..1991e47 100644
--- a/win/tkWinSend.c
+++ b/win/tkWinSend.c
@@ -10,9 +10,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinSend.c,v 1.12 2007/01/11 15:35:41 dkf Exp $
+ * RCS: @(#) $Id: tkWinSend.c,v 1.13 2007/09/07 00:34:58 dgp Exp $
*/
+#include "tkInt.h"
#include "tkWinSendCom.h"
/*
diff --git a/win/tkWinSendCom.c b/win/tkWinSendCom.c
index 8b54d51..c9188ba 100644
--- a/win/tkWinSendCom.c
+++ b/win/tkWinSendCom.c
@@ -18,9 +18,10 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinSendCom.c,v 1.6 2005/12/02 13:42:29 dkf Exp $
+ * RCS: @(#) $Id: tkWinSendCom.c,v 1.7 2007/09/07 00:34:58 dgp Exp $
*/
+#include "tkInt.h"
#include "tkWinSendCom.h"
/*
diff --git a/win/ttkWinMonitor.c b/win/ttkWinMonitor.c
index b6c5a15..181db97 100644
--- a/win/ttkWinMonitor.c
+++ b/win/ttkWinMonitor.c
@@ -1,4 +1,4 @@
-/* $Id: ttkWinMonitor.c,v 1.10 2007/04/17 14:32:28 dkf Exp $
+/* $Id: ttkWinMonitor.c,v 1.11 2007/09/07 00:34:58 dgp Exp $
*/
#ifdef _MSC_VER
@@ -6,8 +6,6 @@
#endif
#include <windows.h>
-#include <tcl.h>
-#include <tk.h>
#include <tkWinInt.h>
#include "ttk/ttkTheme.h"
diff --git a/win/ttkWinTheme.c b/win/ttkWinTheme.c
index c0c04ff..e05f08c 100644
--- a/win/ttkWinTheme.c
+++ b/win/ttkWinTheme.c
@@ -1,6 +1,6 @@
/* winTheme.c - Copyright (C) 2004 Pat Thoyts <patthoyts@users.sf.net>
*
- * $Id: ttkWinTheme.c,v 1.5 2007/04/17 14:32:28 dkf Exp $
+ * $Id: ttkWinTheme.c,v 1.6 2007/09/07 00:34:58 dgp Exp $
*/
#ifdef _MSC_VER
@@ -9,7 +9,6 @@
#include <windows.h>
-#include <tk.h>
#include <tkWinInt.h>
#ifndef DFCS_HOT /* Windows 98/Me, Windows 200/XP only */
diff --git a/win/winMain.c b/win/winMain.c
index 5176a00..ba1e510 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -9,16 +9,15 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: winMain.c,v 1.23 2005/12/02 00:19:04 dkf Exp $
+ * RCS: @(#) $Id: winMain.c,v 1.24 2007/09/07 00:34:58 dgp Exp $
*/
-#include <tk.h>
+#include "tkInt.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#include <locale.h>
-#include "tkInt.h"
/*
* The following declarations refer to internal Tk routines. These interfaces