From ce3f43382e115b9207acf3e21f6571388a41f6b7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 26 Dec 1993 06:00:04 +0000 Subject: [PATCH] (XTflash): Use EMACS_GET_TIME. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. */ -- 2.39.5