summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixEvent.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 /unix/tclUnixEvent.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 'unix/tclUnixEvent.c')
-rw-r--r--unix/tclUnixEvent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixEvent.c b/unix/tclUnixEvent.c
index 00371b5..a623dbb 100644
--- a/unix/tclUnixEvent.c
+++ b/unix/tclUnixEvent.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixEvent.c,v 1.3 1999/04/16 00:48:04 stanton Exp $
+ * RCS: @(#) $Id: tclUnixEvent.c,v 1.4 2001/11/21 02:36:21 hobbs Exp $
*/
#include "tclInt.h"
@@ -44,7 +44,7 @@ Tcl_Sleep(ms)
* early, go back to sleep again.
*/
- TclpGetTime(&before);
+ Tcl_GetTime(&before);
after = before;
after.sec += ms/1000;
after.usec += (ms%1000)*1000;
@@ -71,6 +71,6 @@ Tcl_Sleep(ms)
}
(void) select(0, (SELECT_MASK *) 0, (SELECT_MASK *) 0,
(SELECT_MASK *) 0, &delay);
- TclpGetTime(&before);
+ Tcl_GetTime(&before);
}
}