From dd400a243dbb1573d3aaa030922fa2d766ce10e9 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 16 Apr 2011 13:05:33 +0200
Subject: [PATCH 292/396] gettimeofday.c: use the same type as in header

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/sysdeps/linux/common/gettimeofday.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c
index 52490fe..d9b2a22 100644
--- a/libc/sysdeps/linux/common/gettimeofday.c
+++ b/libc/sysdeps/linux/common/gettimeofday.c
@@ -10,9 +10,5 @@
 #include <sys/syscall.h>
 #include <sys/time.h>
 
-#ifdef __USE_BSD
-_syscall2(int, gettimeofday, struct timeval *, tv, struct timezone *, tz)
-#else
-_syscall2(int, gettimeofday, struct timeval *, tv, void *, tz)
-#endif
+_syscall2(int, gettimeofday, struct timeval *, tv, __timezone_ptr_t, tz)
 libc_hidden_def(gettimeofday)
-- 
1.7.0.4

