]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTflash): Use EMACS_GET_TIME.
authorRichard M. Stallman <rms@gnu.org>
Sun, 26 Dec 1993 06:00:04 +0000 (06:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 26 Dec 1993 06:00:04 +0000 (06:00 +0000)
src/xterm.c

index 7937e15a4429fe74f102e9e85ba3891bae0a340e..74a16180b739f2ce81ef03488cd09dc12bbf6316 100644 (file)
@@ -871,7 +871,7 @@ XTflash (f)
       {
        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 @@ XTflash (f)
          {
            struct timeval timeout;
 
-           gettimeofday (&timeout, (struct timezone *)0);
+           EMACS_GET_TIME (&timeout);
 
            /* In effect, timeout = wakeup - timeout.
               Break if result would be negative.  */