summaryrefslogtreecommitdiffstats
path: root/generic/tclNotify.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-07-24 21:54:38 (GMT)
committernijtmans <nijtmans@noemail.net>2008-07-24 21:54:38 (GMT)
commit99c1f1dc71cec3e87f27d8ed4f2c918e7eef98e2 (patch)
treed6af35eba3a72d32359fa5a28abd6fe83823567d /generic/tclNotify.c
parent637c580f8f148d94744a67ee520647bc5b180866 (diff)
downloadtcl-99c1f1dc71cec3e87f27d8ed4f2c918e7eef98e2.zip
tcl-99c1f1dc71cec3e87f27d8ed4f2c918e7eef98e2.tar.gz
tcl-99c1f1dc71cec3e87f27d8ed4f2c918e7eef98e2.tar.bz2
CONSTified 4 functions in the Notifier which all have a Tcl_Time* in it which is
supposed to be a constant, but this was not reflected in the API: Tcl_SetTimer Tcl_WaitForEvent Tcl_ConditionWait Tcl_SetMaxBlockTime Introduced a CONST86, so extensions which have their own Notifier (are there any?) can be modified to compile against both Tcl 8.5 and Tcl 8.6. This change complies with TIP #24 FossilOrigin-Name: 7ade6e690e5d9da6d707b6796e656ef6df6565e3
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r--generic/tclNotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index 0e13379..e6c4d40 100644
--- a/generic/tclNotify.c
+++ b/generic/tclNotify.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclNotify.c,v 1.27 2008/06/13 05:45:14 mistachkin Exp $
+ * RCS: @(#) $Id: tclNotify.c,v 1.28 2008/07/24 21:54:38 nijtmans Exp $
*/
#include "tclInt.h"
@@ -794,7 +794,7 @@ Tcl_SetServiceMode(
void
Tcl_SetMaxBlockTime(
- Tcl_Time *timePtr) /* Specifies a maximum elapsed time for the
+ const Tcl_Time *timePtr) /* Specifies a maximum elapsed time for the
* next blocking operation in the event
* tsdPtr-> */
{