summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-15 20:48:26 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-15 20:48:26 (GMT)
commit241081870bc482f31dfc97458b316d57feecd264 (patch)
treee4c709259c2f4adc2aab03f662cbe17295582db9 /generic
parent8403334007fc763313504fb3a46f5aa6cca41151 (diff)
downloadtk-241081870bc482f31dfc97458b316d57feecd264.zip
tk-241081870bc482f31dfc97458b316d57feecd264.tar.gz
tk-241081870bc482f31dfc97458b316d57feecd264.tar.bz2
* Updated Tk's console to CONSTified channel driver interface.
[Tcl Patch 503565, Tk Patch 503983]
Diffstat (limited to 'generic')
-rw-r--r--generic/tkConsole.c5
-rw-r--r--generic/tkInt.h6
2 files changed, 4 insertions, 7 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index 1a5a267..e51d687 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.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: tkConsole.c,v 1.15 2002/01/15 18:19:14 dgp Exp $
+ * RCS: @(#) $Id: tkConsole.c,v 1.16 2002/01/15 20:48:29 dgp Exp $
*/
#include "tk.h"
@@ -47,9 +47,6 @@ TCL_DECLARE_MUTEX(consoleMutex)
* The first three will be used in the tk app shells...
*/
-void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp,
- int devId, char *buffer, long size));
-
static int ConsoleCmd _ANSI_ARGS_((ClientData clientData,
Tcl_Interp *interp, int argc, char **argv));
static void ConsoleDeleteProc _ANSI_ARGS_((ClientData clientData));
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 440c339..c5c085d 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: $Id: tkInt.h,v 1.40 2001/09/26 21:36:19 pspjuth Exp $
+ * RCS: $Id: tkInt.h,v 1.41 2002/01/15 20:48:30 dgp Exp $
*/
#ifndef _TKINT
@@ -1035,8 +1035,8 @@ EXTERN int Tk_WinfoObjCmd _ANSI_ARGS_((ClientData clientData,
EXTERN int Tk_WmCmd _ANSI_ARGS_((ClientData clientData,
Tcl_Interp *interp, int argc, char **argv));
-void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp,
- int devId, char *buffer, long size));
+EXTERN void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp,
+ int devId, CONST char *buffer, long size));
EXTERN void TkEventInit _ANSI_ARGS_((void));