From 34c0112854f35922ab6e109b2538a4265436113a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 16 Apr 2011 13:05:33 +0200 Subject: gettimeofday.c: use the same type as in header Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/gettimeofday.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c index 52490fec4..d9b2a2252 100644 --- a/libc/sysdeps/linux/common/gettimeofday.c +++ b/libc/sysdeps/linux/common/gettimeofday.c @@ -10,9 +10,5 @@ #include #include -#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) -- cgit v1.2.3