diff options
author | dgp <dgp@users.sourceforge.net> | 2001-09-28 01:21:52 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-09-28 01:21:52 (GMT) |
commit | b32ac06e6c6eecabdceefee25539d048dcfb00fe (patch) | |
tree | efc77c730c35b6fb82ceecf051d26b598c191f2e /mac | |
parent | bb9116d73ba9d1c0da04e53d1451fffe964ee876 (diff) | |
download | tcl-b32ac06e6c6eecabdceefee25539d048dcfb00fe.zip tcl-b32ac06e6c6eecabdceefee25539d048dcfb00fe.tar.gz tcl-b32ac06e6c6eecabdceefee25539d048dcfb00fe.tar.bz2 |
* More CONST poisoning
fixes from the 2001-09-24 TIP 27 changes. CONST-ified
Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin
Kenny. [Bug 465833]
Diffstat (limited to 'mac')
-rw-r--r-- | mac/tclMacLoad.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mac/tclMacLoad.c b/mac/tclMacLoad.c index ef9da8e..f3419f2 100644 --- a/mac/tclMacLoad.c +++ b/mac/tclMacLoad.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: tclMacLoad.c,v 1.6 2001/09/04 18:06:34 vincentdarley Exp $ + * RCS: @(#) $Id: tclMacLoad.c,v 1.7 2001/09/28 01:21:53 dgp Exp $ */ #include <CodeFragments.h> @@ -101,7 +101,8 @@ TclpLoadFile( Tcl_Interp *interp, /* Used for error reporting. */ Tcl_Obj *pathPtr, /* Name of the file containing the desired * code. */ - char *sym1, char *sym2, /* Names of two procedures to look up in + CONST char *sym1, + CONST char *sym2, /* Names of two procedures to look up in * the file's symbol table. */ Tcl_PackageInitProc **proc1Ptr, Tcl_PackageInitProc **proc2Ptr, |