summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixWm.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2004-01-31 20:27:52 (GMT)
committerjenglish <jenglish@flightlab.com>2004-01-31 20:27:52 (GMT)
commit5a4965f1fbe6901da747bcb0653fb0280088417f (patch)
treef24ecb59524780df3aff8fc9906c4a7c7905d4df /unix/tkUnixWm.c
parentb943941ae6c6a3b3fbfdae1ee6faeaa1c2935dc6 (diff)
downloadtk-5a4965f1fbe6901da747bcb0653fb0280088417f.zip
tk-5a4965f1fbe6901da747bcb0653fb0280088417f.tar.gz
tk-5a4965f1fbe6901da747bcb0653fb0280088417f.tar.bz2
Replaced TclpGetTime() with Tcl_GetTime(), to remove
dependency on tclInt.h [Bug 874745].
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r--unix/tkUnixWm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index ea414c6..b52b439 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -12,13 +12,12 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixWm.c,v 1.39 2004/01/13 02:06:01 davygrvy Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.40 2004/01/31 20:27:52 jenglish Exp $
*/
#include "tkPort.h"
#include "tkInt.h"
#include "tkUnixInt.h"
-#include <errno.h>
/*
* A data structure of the following type holds information for
@@ -4425,7 +4424,7 @@ WaitForEvent(display, wmInfoPtr, type, eventPtr)
oldRestrictProc = Tk_RestrictEvents(WaitRestrictProc, (ClientData) &info,
&oldRestrictData);
- TclpGetTime(&timeout);
+ Tcl_GetTime(&timeout);
timeout.sec += 2;
while (!info.foundEvent) {