summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-01-15 17:55:28 (GMT)
committerdgp <dgp@noemail.net>2002-01-15 17:55:28 (GMT)
commit5b4d1516e3f1423e34da058f77c6aa959285fcbe (patch)
tree1b8e5662ba53f74c7365043b21833a6534056f98 /win/tclWinConsole.c
parent11d84d5f8dac317f3ea2b12080f3e920d193ab61 (diff)
downloadtcl-5b4d1516e3f1423e34da058f77c6aa959285fcbe.zip
tcl-5b4d1516e3f1423e34da058f77c6aa959285fcbe.tar.gz
tcl-5b4d1516e3f1423e34da058f77c6aa959285fcbe.tar.bz2
* Updated APIs in the file generic/tclIO.c according to the guidelines
of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface. FossilOrigin-Name: 9c9edf24ebc9ced7a348fbf0bc524fa36c851598
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index 2e364d1..f233864 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinConsole.c,v 1.6 2001/07/16 23:30:16 mdejong Exp $
+ * RCS: @(#) $Id: tclWinConsole.c,v 1.7 2002/01/15 17:55:30 dgp Exp $
*/
#include "tclWinInt.h"
@@ -145,8 +145,8 @@ static int ConsoleGetHandleProc(ClientData instanceData,
static ThreadSpecificData *ConsoleInit(void);
static int ConsoleInputProc(ClientData instanceData, char *buf,
int toRead, int *errorCode);
-static int ConsoleOutputProc(ClientData instanceData, char *buf,
- int toWrite, int *errorCode);
+static int ConsoleOutputProc(ClientData instanceData,
+ CONST char *buf, int toWrite, int *errorCode);
static DWORD WINAPI ConsoleReaderThread(LPVOID arg);
static void ConsoleSetupProc(ClientData clientData, int flags);
static void ConsoleWatchProc(ClientData instanceData, int mask);
@@ -680,7 +680,7 @@ ConsoleInputProc(
static int
ConsoleOutputProc(
ClientData instanceData, /* Console state. */
- char *buf, /* The data buffer. */
+ CONST char *buf, /* The data buffer. */
int toWrite, /* How many bytes to write? */
int *errorCode) /* Where to store error code. */
{