changeset 5354:9bf728b3fbe5

(XTflash): Use EMACS_GET_TIME.
author Richard M. Stallman <rms@gnu.org>
date Sun, 26 Dec 1993 06:00:04 +0000
parents 6389ed5b45ac
children ad4092c38f51
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Dec 25 08:12:08 1993 +0000
+++ b/src/xterm.c	Sun Dec 26 06:00:04 1993 +0000
@@ -871,7 +871,7 @@
       {
 	struct timeval wakeup, now;
 
-	gettimeofday (&wakeup, (struct timezone *) 0);
+	EMACS_GET_TIME (&wakeup);
 
 	/* Compute time to wait until, propagating carry from usecs.  */
 	wakeup.tv_usec += 150000;
@@ -883,7 +883,7 @@
 	  {
 	    struct timeval timeout;
 
-	    gettimeofday (&timeout, (struct timezone *)0);
+	    EMACS_GET_TIME (&timeout);
 
 	    /* In effect, timeout = wakeup - timeout.
 	       Break if result would be negative.  */