summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans <nijtmans>2006-10-20 22:39:57 (GMT)
committernijtmans <nijtmans>2006-10-20 22:39:57 (GMT)
commitc62bdf8f3c7b67cf686b0b5a3a2c910b48066e56 (patch)
treef045a715f1dd63f3c253c8bef2281f5664bfb261 /generic
parent7a91c740d9ccdf831cdb14d03bf80c3feb697357 (diff)
downloadtk-c62bdf8f3c7b67cf686b0b5a3a2c910b48066e56.zip
tk-c62bdf8f3c7b67cf686b0b5a3a2c910b48066e56.tar.gz
tk-c62bdf8f3c7b67cf686b0b5a3a2c910b48066e56.tar.bz2
fix signature of TkInitStubs (missing CONST for version parameter)
Diffstat (limited to 'generic')
-rw-r--r--generic/tk.h4
-rw-r--r--generic/tkStubLib.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/tk.h b/generic/tk.h
index e047764..8c09d67 100644
--- a/generic/tk.h
+++ b/generic/tk.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: tk.h,v 1.88 2006/08/18 10:24:41 dkf Exp $
+ * RCS: @(#) $Id: tk.h,v 1.89 2006/10/20 22:39:57 nijtmans Exp $
*/
#ifndef _TK
@@ -1494,7 +1494,7 @@ typedef struct Tk_ElementSpec {
Tk_MainEx(argc, argv, proc, Tcl_CreateInterp())
CONST char * Tk_InitStubs _ANSI_ARGS_((Tcl_Interp *interp,
- char *version, int exact));
+ CONST char *version, int exact));
#ifndef USE_TK_STUBS
diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c
index ddfe8cf..3fe18a6 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.10 2005/11/27 02:36:14 das Exp $
+ * RCS: @(#) $Id: tkStubLib.c,v 1.11 2006/10/20 22:39:57 nijtmans Exp $
*/
@@ -94,7 +94,7 @@ TkIntXlibStubs *tkIntXlibStubsPtr;
MODULE_SCOPE CONST char *
Tk_InitStubs(interp, version, exact)
Tcl_Interp *interp;
- char *version;
+ CONST char *version;
int exact;
{
CONST char *actualVersion;