summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-02-08 10:05:40 (GMT)
committerhobbs <hobbs>2000-02-08 10:05:40 (GMT)
commit1721f69f9f7b3f33d82c2c68b7d8ecd0e689635f (patch)
tree8ff4a5485bce73a5ae4437e924043d0162596151 /generic/tclDecls.h
parent3e98f7fcb0551e201d79dbfdb298c5ac8e0bbb0f (diff)
downloadtcl-1721f69f9f7b3f33d82c2c68b7d8ecd0e689635f.zip
tcl-1721f69f9f7b3f33d82c2c68b7d8ecd0e689635f.tar.gz
tcl-1721f69f9f7b3f33d82c2c68b7d8ecd0e689635f.tar.bz2
* generic/tclDecls.h:
* generic/tcl.decls: change Tcl_GetOpenFile to use decl of 'int forWriting' instead of 'int write' to avoid shadowing [Bug: 4121] * generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r--generic/tclDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h
index 594cb01..05902e7 100644
--- a/generic/tclDecls.h
+++ b/generic/tclDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDecls.h,v 1.30 2000/01/24 02:29:57 hobbs Exp $
+ * RCS: @(#) $Id: tclDecls.h,v 1.31 2000/02/08 10:05:41 hobbs Exp $
*/
#ifndef _TCLDECLS
@@ -541,7 +541,7 @@ EXTERN Tcl_Obj * Tcl_GetObjResult _ANSI_ARGS_((Tcl_Interp * interp));
#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
/* 167 */
EXTERN int Tcl_GetOpenFile _ANSI_ARGS_((Tcl_Interp * interp,
- char * str, int write, int checkUsage,
+ char * str, int forWriting, int checkUsage,
ClientData * filePtr));
#endif /* UNIX */
/* 168 */
@@ -1421,7 +1421,7 @@ typedef struct TclStubs {
CONST char * (*tcl_GetNameOfExecutable) _ANSI_ARGS_((void)); /* 165 */
Tcl_Obj * (*tcl_GetObjResult) _ANSI_ARGS_((Tcl_Interp * interp)); /* 166 */
#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */
- int (*tcl_GetOpenFile) _ANSI_ARGS_((Tcl_Interp * interp, char * str, int write, int checkUsage, ClientData * filePtr)); /* 167 */
+ int (*tcl_GetOpenFile) _ANSI_ARGS_((Tcl_Interp * interp, char * str, int forWriting, int checkUsage, ClientData * filePtr)); /* 167 */
#endif /* UNIX */
#ifdef __WIN32__
void *reserved167;