diff src/xterm.c @ 5354:9bf728b3fbe5

(XTflash): Use EMACS_GET_TIME.
author Richard M. Stallman <rms@gnu.org>
date Sun, 26 Dec 1993 06:00:04 +0000
parents c094c1df2e87
children b36dfc938ba4
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.  */