# HG changeset patch # User Richard M. Stallman # Date 756885604 0 # Node ID 9bf728b3fbe5c4e051ef3b634a430e4098c91193 # Parent 6389ed5b45ace3b60dcbc70b98f449205e386b91 (XTflash): Use EMACS_GET_TIME. diff -r 6389ed5b45ac -r 9bf728b3fbe5 src/xterm.c --- 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. */