summaryrefslogtreecommitdiffstats
path: root/generic/tkStubLib.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-05-22 00:22:41 (GMT)
committerhobbs <hobbs>2001-05-22 00:22:41 (GMT)
commit8b6e69e2aee288cb8f4bba2cc1c44342d1fd2703 (patch)
treed1a8b04bbffe2ea1ead687a150c9cead57ae7b8c /generic/tkStubLib.c
parent29e6415ec425f744f1595e852af0c922a09258bb (diff)
downloadtk-8b6e69e2aee288cb8f4bba2cc1c44342d1fd2703.zip
tk-8b6e69e2aee288cb8f4bba2cc1c44342d1fd2703.tar.gz
tk-8b6e69e2aee288cb8f4bba2cc1c44342d1fd2703.tar.bz2
* doc/TkInitStubs.3:
* generic/tk.h: * generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST changes to Tcl_PkgRequireEx.
Diffstat (limited to 'generic/tkStubLib.c')
-rw-r--r--generic/tkStubLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c
index 32ba177..1783e32 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.5 1999/05/25 01:31:06 stanton Exp $
+ * RCS: @(#) $Id: tkStubLib.c,v 1.6 2001/05/22 00:22:41 hobbs Exp $
*/
/*
@@ -95,13 +95,13 @@ TkIntXlibStubs *tkIntXlibStubsPtr;
#undef Tk_InitStubs
#endif
-char *
+CONST char *
Tk_InitStubs(interp, version, exact)
Tcl_Interp *interp;
char *version;
int exact;
{
- char *actualVersion;
+ CONST char *actualVersion;
actualVersion = Tcl_PkgRequireEx(interp, "Tk", version, exact,
(ClientData *) &tkStubsPtr);