From: Richard M. Stallman Date: Sun, 26 Dec 1993 06:00:04 +0000 (+0000) Subject: (XTflash): Use EMACS_GET_TIME. X-Git-Tag: emacs-19.34~10497 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce3f43382e115b9207acf3e21f6571388a41f6b7;p=emacs.git (XTflash): Use EMACS_GET_TIME. --- diff --git a/src/xterm.c b/src/xterm.c index 7937e15a442..74a16180b73 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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. */