diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-16 13:05:33 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:39 +0200 |
commit | 34c0112854f35922ab6e109b2538a4265436113a (patch) | |
tree | a776fece8da86997032bbd76df988e5b8e6dcf69 /libc | |
parent | 823b22d7c34c8f12b72fde4666a799429ffb06dd (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')
-rw-r--r-- | 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 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) |