summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-01-10 22:58:39 (GMT)
committernijtmans <nijtmans@noemail.net>2010-01-10 22:58:39 (GMT)
commit5c4dd24f9879581c530428c9b155ec5b402a4784 (patch)
treedbbc67aa5fc759bc2ea978873fb23e5c3a614329 /generic/tclIORChan.c
parent270dfa77448b76583b8327e32916dbd29f81dd80 (diff)
downloadtcl-5c4dd24f9879581c530428c9b155ec5b402a4784.zip
tcl-5c4dd24f9879581c530428c9b155ec5b402a4784.tar.gz
tcl-5c4dd24f9879581c530428c9b155ec5b402a4784.tar.bz2
* win/tclWinDde.c: VC++ 6.0 doesn't have
* win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation. FossilOrigin-Name: ab999800966a0b666e1f1f44036476255eedbc43
Diffstat (limited to 'generic/tclIORChan.c')
-rw-r--r--generic/tclIORChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index e3ba688..68072fa 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIORChan.c,v 1.43 2009/11/21 21:58:30 patthoyts Exp $
+ * RCS: @(#) $Id: tclIORChan.c,v 1.44 2010/01/10 22:58:40 nijtmans Exp $
*/
#include <tclInt.h>
@@ -57,7 +57,7 @@ static int ReflectSetOption(ClientData clientData,
* a version 3 structure.
*/
-static Tcl_ChannelType tclRChannelType = {
+static const Tcl_ChannelType tclRChannelType = {
"tclrchannel", /* Type name. */
TCL_CHANNEL_VERSION_5, /* v5 channel */
ReflectClose, /* Close channel, clean instance data */
@@ -74,7 +74,7 @@ static Tcl_ChannelType tclRChannelType = {
NULL, /* Handle events. NULL'able */
ReflectSeekWide, /* Move access point (64 bit). NULL'able */
NULL, /* thread action */
- NULL, /* truncate */
+ NULL /* truncate */
};
/*