[git commit] gettimeofday.c: use the same type as in header

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:39 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=34c0112854f35922ab6e109b2538a4265436113a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 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)


More information about the uClibc-cvs mailing list