Eliminate 'struct timezone tz' as it isn't used.

reviewed by: Keith Packard
This commit is contained in:
Keith Packard 2004-07-08 16:30:59 +00:00
parent cd952da085
commit 4b34993c83
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-07-08 Ely Levy <elylevy-xserver@cs.huji.ac.il>
reviewed by: Keith Packard
* xcompmgr.c: (get_time_in_milliseconds):
Eliminate 'struct timezone tz' as it isn't used.
2004-07-08 Keith Packard <keithp@keithp.com>
* xcompmgr.c: (get_time_in_milliseconds), (find_fade),

View File

@ -164,9 +164,8 @@ int
get_time_in_milliseconds ()
{
struct timeval tv;
struct timezone tz;
gettimeofday (&tv, &tz);
gettimeofday (&tv, NULL);
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}