Eliminate 'struct timezone tz' as it isn't used.
reviewed by: Keith Packard
This commit is contained in:
parent
cd952da085
commit
4b34993c83
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue