summaryrefslogtreecommitdiff
path: root/xcompmgr.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-07-08 16:30:59 +0000
committerKeith Packard <keithp@keithp.com>2004-07-08 16:30:59 +0000
commit4b34993c830019b0f89a5b07004a7c8fb8cf90d5 (patch)
treee934390ad73f3cbe2b44601ee9a4de73753b953a /xcompmgr.c
parentcd952da085147938c06a46440fd178382a74e0df (diff)
Eliminate 'struct timezone tz' as it isn't used.
reviewed by: Keith Packard
Diffstat (limited to 'xcompmgr.c')
-rw-r--r--xcompmgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xcompmgr.c b/xcompmgr.c
index 8bb23d1..4064852 100644
--- a/xcompmgr.c
+++ b/xcompmgr.c
@@ -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;
}