summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixEvent.c
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2004-01-31 20:27:52 (GMT)
committerjenglish@flightlab.com <jenglish>2004-01-31 20:27:52 (GMT)
commiteaca32cef4627ec6b6a05efcbf394183f9e06527 (patch)
treef24ecb59524780df3aff8fc9906c4a7c7905d4df /unix/tkUnixEvent.c
parent8fd27fba935e28abc6fc5b35fac91d96c6264612 (diff)
downloadtk-eaca32cef4627ec6b6a05efcbf394183f9e06527.zip
tk-eaca32cef4627ec6b6a05efcbf394183f9e06527.tar.gz
tk-eaca32cef4627ec6b6a05efcbf394183f9e06527.tar.bz2
Replaced TclpGetTime() with Tcl_GetTime(), to remove
dependency on tclInt.h [Bug 874745].
Diffstat (limited to 'unix/tkUnixEvent.c')
-rw-r--r--unix/tkUnixEvent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixEvent.c b/unix/tkUnixEvent.c
index b76130e..0a42ccb 100644
--- a/unix/tkUnixEvent.c
+++ b/unix/tkUnixEvent.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixEvent.c,v 1.14 2004/01/13 02:06:01 davygrvy Exp $
+ * RCS: @(#) $Id: tkUnixEvent.c,v 1.15 2004/01/31 20:27:52 jenglish Exp $
*/
#include "tkInt.h"
@@ -470,7 +470,7 @@ TkUnixDoOneXEvent(timePtr)
*/
if (timePtr) {
- TclpGetTime(&now);
+ Tcl_GetTime(&now);
blockTime.tv_sec = timePtr->sec;
blockTime.tv_usec = timePtr->usec - now.usec;
if (blockTime.tv_usec < 0) {
@@ -543,7 +543,7 @@ TkUnixDoOneXEvent(timePtr)
*/
if (timePtr) {
- TclpGetTime(&now);
+ Tcl_GetTime(&now);
if ((now.sec > timePtr->sec) || ((now.sec == timePtr->sec)
&& (now.usec > timePtr->usec))) {
return 0;