diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-25 21:09:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-25 21:09:35 (GMT) |
commit | 6ed2bb40b9be7079b3eb3b9872657d06d568dc7f (patch) | |
tree | 2041d0c0de9f76a800e1af4c067e78376fbdd570 /mac/tkMacInit.c | |
parent | 7b64060dd94a995160cc8ccbd5bee7556fd996a9 (diff) | |
download | tk-6ed2bb40b9be7079b3eb3b9872657d06d568dc7f.zip tk-6ed2bb40b9be7079b3eb3b9872657d06d568dc7f.tar.gz tk-6ed2bb40b9be7079b3eb3b9872657d06d568dc7f.tar.bz2 |
* Updated callers of Tcl_SplitList and Tcl_Merge.
* Updated callers of Tcl_GetStringResult.
Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
directly on interp->result.
* Updated callers of Tcl_GetVar, Tcl_GetVar2
* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
Tcl_TranslateFileName.
Diffstat (limited to 'mac/tkMacInit.c')
-rw-r--r-- | mac/tkMacInit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mac/tkMacInit.c b/mac/tkMacInit.c index 9e70594..e461073 100644 --- a/mac/tkMacInit.c +++ b/mac/tkMacInit.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: tkMacInit.c,v 1.5 2001/12/27 22:45:10 das Exp $ + * RCS: @(#) $Id: tkMacInit.c,v 1.6 2002/01/25 21:09:37 dgp Exp $ */ #include <Resources.h> @@ -54,7 +54,7 @@ int TkpInit( Tcl_Interp *interp) /* Interp to initialize. */ { - char *libDir, *tempPath; + CONST char *libDir, *tempPath; Tcl_DString path, ds; int result; @@ -115,7 +115,7 @@ tkInit"; tempPath = TclGetEnv("EXT_FOLDER", &ds); if ((tempPath != NULL) && (tempPath[0] != '\0')) { Tcl_DString libPath; - char *argv[3]; + CONST char *argv[3]; argv[0] = tempPath; argv[1] = "Tool Command Language"; @@ -169,7 +169,7 @@ TkpGetAppName( Tcl_DString *namePtr) /* A previously initialized Tcl_DString. */ { int argc; - char **argv = NULL, *name, *p; + CONST char **argv = NULL, *name, *p; Handle h = NULL; h = GetNamedResource('STR ', "\pTk App Name"); @@ -222,8 +222,8 @@ TkpGetAppName( void TkpDisplayWarning( - char *msg, /* Message to be displayed. */ - char *title) /* Title of warning. */ + CONST char *msg, /* Message to be displayed. */ + CONST char *title) /* Title of warning. */ { Tcl_DString ds; Tcl_DStringInit(&ds); |