diff options
| author | Richard M. Stallman | 1993-12-26 06:00:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-26 06:00:04 +0000 |
| commit | ce3f43382e115b9207acf3e21f6571388a41f6b7 (patch) | |
| tree | 5c0bac33590ca38331857ecb42ff6a104677fe22 /src | |
| parent | 31ce1c9154b20e2c204d93b839743d7b8b3ea7ea (diff) | |
| download | emacs-ce3f43382e115b9207acf3e21f6571388a41f6b7.tar.gz emacs-ce3f43382e115b9207acf3e21f6571388a41f6b7.zip | |
(XTflash): Use EMACS_GET_TIME.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 4 |
1 files 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) | |||
| 871 | { | 871 | { |
| 872 | struct timeval wakeup, now; | 872 | struct timeval wakeup, now; |
| 873 | 873 | ||
| 874 | gettimeofday (&wakeup, (struct timezone *) 0); | 874 | EMACS_GET_TIME (&wakeup); |
| 875 | 875 | ||
| 876 | /* Compute time to wait until, propagating carry from usecs. */ | 876 | /* Compute time to wait until, propagating carry from usecs. */ |
| 877 | wakeup.tv_usec += 150000; | 877 | wakeup.tv_usec += 150000; |
| @@ -883,7 +883,7 @@ XTflash (f) | |||
| 883 | { | 883 | { |
| 884 | struct timeval timeout; | 884 | struct timeval timeout; |
| 885 | 885 | ||
| 886 | gettimeofday (&timeout, (struct timezone *)0); | 886 | EMACS_GET_TIME (&timeout); |
| 887 | 887 | ||
| 888 | /* In effect, timeout = wakeup - timeout. | 888 | /* In effect, timeout = wakeup - timeout. |
| 889 | Break if result would be negative. */ | 889 | Break if result would be negative. */ |