summaryrefslogtreecommitdiffstats
path: root/win/tclWinNotify.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-11-21 02:36:17 (GMT)
committerhobbs <hobbs@noemail.net>2001-11-21 02:36:17 (GMT)
commitad54418aa922f18d6b8407e93e661701f1b51f22 (patch)
treed6c9734d5b8944f4d96bc77057fc560b661f57c4 /win/tclWinNotify.c
parent639e6f85d302a39301bac66f50bd50348f2891b7 (diff)
downloadtcl-ad54418aa922f18d6b8407e93e661701f1b51f22.zip
tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.tar.gz
tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.tar.bz2
added TIP#73 patch #483500 from Kevin Kenny.
This deprecates TclpGetTime in favor of new Tcl_GetTime. FossilOrigin-Name: ad0e26f63b8c18f13f7c0131933099e11df86010
Diffstat (limited to 'win/tclWinNotify.c')
-rw-r--r--win/tclWinNotify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c
index eb33ed2..d788086 100644
--- a/win/tclWinNotify.c
+++ b/win/tclWinNotify.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: tclWinNotify.c,v 1.8 2001/09/20 18:34:22 hobbs Exp $
+ * RCS: @(#) $Id: tclWinNotify.c,v 1.9 2001/11/21 02:36:21 hobbs Exp $
*/
#include "tclWinInt.h"
@@ -521,7 +521,7 @@ Tcl_Sleep(ms)
Tcl_Time desired; /* Desired wakeup time */
int sleepTime = ms; /* Time to sleep */
- TclpGetTime( &now );
+ Tcl_GetTime( &now );
desired.sec = now.sec + ( ms / 1000 );
desired.usec = now.usec + 1000 * ( ms % 1000 );
if ( desired.usec > 1000000 ) {
@@ -531,7 +531,7 @@ Tcl_Sleep(ms)
for ( ; ; ) {
Sleep( sleepTime );
- TclpGetTime( &now );
+ Tcl_GetTime( &now );
if ( now.sec > desired.sec ) {
break;
} else if ( ( now.sec == desired.sec )