Eliminate 'struct timezone tz' as it isn't used.
authorKeith Packard <keithp@keithp.com>
Thu, 8 Jul 2004 16:30:59 +0000 (16:30 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 8 Jul 2004 16:30:59 +0000 (16:30 +0000)
reviewed by: Keith Packard

ChangeLog
xcompmgr.c

index 60db190..c17f94a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
index 8bb23d1..4064852 100644 (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;
 }