diff options
author | nijtmans <nijtmans> | 2006-10-20 22:39:57 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2006-10-20 22:39:57 (GMT) |
commit | 6cecc550931d68507cfa2cf80c6431a3fa4ecd5b (patch) | |
tree | f045a715f1dd63f3c253c8bef2281f5664bfb261 /generic | |
parent | 1555b576cde4105c5ed6f73307ef5d67ad388c99 (diff) | |
download | tk-6cecc550931d68507cfa2cf80c6431a3fa4ecd5b.zip tk-6cecc550931d68507cfa2cf80c6431a3fa4ecd5b.tar.gz tk-6cecc550931d68507cfa2cf80c6431a3fa4ecd5b.tar.bz2 |
fix signature of TkInitStubs (missing CONST for version parameter)
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tk.h | 4 | ||||
-rw-r--r-- | generic/tkStubLib.c | 4 |
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; |