diff options
author | dgp <dgp@noemail.net> | 2007-09-07 00:34:51 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2007-09-07 00:34:51 (GMT) |
commit | f84bd0cbb87c2b16626fd7d9ea0175861958ce0c (patch) | |
tree | b96d1a5046b15547b52c5d6bc8b1d362bfcbf202 /generic | |
parent | b7c8e45946d853a676cd77f9158faabd1a7bd240 (diff) | |
download | tk-f84bd0cbb87c2b16626fd7d9ea0175861958ce0c.zip tk-f84bd0cbb87c2b16626fd7d9ea0175861958ce0c.tar.gz tk-f84bd0cbb87c2b16626fd7d9ea0175861958ce0c.tar.bz2 |
header cleanup
FossilOrigin-Name: 04ffea40ef0b3c0cad59a3e1576275019f29e913
Diffstat (limited to 'generic')
67 files changed, 86 insertions, 141 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)) |