summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-04 12:33:34 (GMT)
committernijtmans <nijtmans>2008-10-04 12:33:34 (GMT)
commit0cc58bcc1ebada2169f5e943bd09f446556c7ccf (patch)
treeeb77cc8298b5ed98a3fc54bbf7e2f2e8aaba6d20 /generic/tcl.h
parentc2c40e8fd014a4c02f7bc7b27aaa7705132a9112 (diff)
downloadtcl-0cc58bcc1ebada2169f5e943bd09f446556c7ccf.zip
tcl-0cc58bcc1ebada2169f5e943bd09f446556c7ccf.tar.gz
tcl-0cc58bcc1ebada2169f5e943bd09f446556c7ccf.tar.bz2
* doc/ChnlStack.3: CONSTified the typePtr argument
* doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel * generic/tcl.decls and the return value of Tcl_GetChannelType * generic/tcl.h * generic/tclIO.h * generic/tclIO.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 90b9d75..26187e3 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tcl.h,v 1.273 2008/10/04 11:51:25 nijtmans Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.274 2008/10/04 12:33:34 nijtmans Exp $
*/
#ifndef _TCL
@@ -1460,7 +1460,7 @@ typedef int (Tcl_DriverTruncateProc) (ClientData instanceData,
*/
typedef struct Tcl_ChannelType {
- char *typeName; /* The name of the channel type in Tcl
+ CONST char *typeName; /* The name of the channel type in Tcl
* commands. This storage is owned by channel
* type. */
Tcl_ChannelTypeVersion version;