summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.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 /generic/tclClock.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 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index 583d399..9a99deb 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -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: tclClock.c,v 1.11 2000/08/18 18:02:16 ericm Exp $
+ * RCS: @(#) $Id: tclClock.c,v 1.12 2001/11/21 02:36:20 hobbs Exp $
*/
#include "tcl.h"
@@ -109,7 +109,7 @@ Tcl_ClockObjCmd (client, interp, objc, objv)
* We can enforce at least millisecond granularity
*/
Tcl_Time time;
- TclpGetTime(&time);
+ Tcl_GetTime(&time);
Tcl_SetLongObj(resultPtr,
(long) (time.sec*1000 + time.usec/1000));
} else {