diff options
| author | nijtmans <nijtmans> | 2010-01-10 22:58:39 (GMT) | 
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-01-10 22:58:39 (GMT) | 
| commit | a81c8243240443b1ffe54faec5e49d7e5dba4ee6 (patch) | |
| tree | dbbc67aa5fc759bc2ea978873fb23e5c3a614329 /unix/tclUnixChan.c | |
| parent | 997d61c0f6049d4bc0dd57aefc84e5f7f12c4ac2 (diff) | |
| download | tcl-a81c8243240443b1ffe54faec5e49d7e5dba4ee6.zip tcl-a81c8243240443b1ffe54faec5e49d7e5dba4ee6.tar.gz tcl-a81c8243240443b1ffe54faec5e49d7e5dba4ee6.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.
Diffstat (limited to 'unix/tclUnixChan.c')
| -rw-r--r-- | unix/tclUnixChan.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index aaca9f4..209c51a 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.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: tclUnixChan.c,v 1.103 2009/11/17 17:27:40 andreas_kupries Exp $ + * RCS: @(#) $Id: tclUnixChan.c,v 1.104 2010/01/10 22:58:41 nijtmans Exp $   */  #include "tclInt.h"	/* Internal definitions for Tcl. */ @@ -187,7 +187,7 @@ static int		TtySetOptionProc(ClientData instanceData,   * This structure describes the channel type structure for file based IO:   */ -static Tcl_ChannelType fileChannelType = { +static const Tcl_ChannelType fileChannelType = {      "file",			/* Type name. */      TCL_CHANNEL_VERSION_5,	/* v5 channel */      FileCloseProc,		/* Close proc. */ @@ -204,7 +204,7 @@ static Tcl_ChannelType fileChannelType = {      NULL,			/* handler proc. */      FileWideSeekProc,		/* wide seek proc. */      NULL, -    FileTruncateProc,		/* truncate proc. */ +    FileTruncateProc		/* truncate proc. */  };  #ifdef SUPPORTS_TTY @@ -213,7 +213,7 @@ static Tcl_ChannelType fileChannelType = {   * Note that this type is a subclass of the "file" type.   */ -static Tcl_ChannelType ttyChannelType = { +static const Tcl_ChannelType ttyChannelType = {      "tty",			/* Type name. */      TCL_CHANNEL_VERSION_5,	/* v5 channel */      FileCloseProc,		/* Close proc. */ @@ -230,7 +230,7 @@ static Tcl_ChannelType ttyChannelType = {      NULL,			/* handler proc. */      NULL,			/* wide seek proc. */      NULL,			/* thread action proc. */ -    NULL,			/* truncate proc. */ +    NULL			/* truncate proc. */  };  #endif	/* SUPPORTS_TTY */ | 
