summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-16 13:05:33 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:39 +0200
commit34c0112854f35922ab6e109b2538a4265436113a (patch)
treea776fece8da86997032bbd76df988e5b8e6dcf69 /libc/sysdeps/linux/common
parent823b22d7c34c8f12b72fde4666a799429ffb06dd (diff)
gettimeofday.c: use the same type as in header
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/gettimeofday.c6
1 files changed, 1 insertions, 5 deletions
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 <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)