00db10
Introduce prototype-style function definitions for architecture-specific
00db10
gettimeofday implementations.
00db10
00db10
Upstream did this as part of:
00db10
00db10
commit 97554e4382e5d85eccf146b58f85aaad7e3d687c
00db10
Author: Adhemerval Zanella <adhemerval.zanella@linaro.com>
00db10
Date:   Fri Apr 17 11:48:51 2015 -0300
00db10
00db10
    Consolidate gettimeofday across aarch64/s390/tile
00db10
00db10
diff --git a/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c b/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
00db10
index 90d115577bad42ec..0a43a1bf94432006 100644
00db10
--- a/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
00db10
+++ b/sysdeps/unix/sysv/linux/aarch64/gettimeofday.c
00db10
@@ -27,9 +27,7 @@
00db10
    putting it into *tv and *tz.  If tz is null, *tz is not filled.
00db10
    Returns 0 on success, -1 on errors.  */
00db10
 int
00db10
-__gettimeofday (tv, tz)
00db10
-     struct timeval *tv;
00db10
-     struct timezone *tz;
00db10
+__gettimeofday (struct timeval *tv, struct timezone *tz)
00db10
 {
00db10
   return INLINE_VSYSCALL (gettimeofday, 2, tv, tz);
00db10
 }
00db10
diff --git a/sysdeps/unix/sysv/linux/s390/gettimeofday.c b/sysdeps/unix/sysv/linux/s390/gettimeofday.c
00db10
index d897e1a6b68c069a..10777d17828fa9d0 100644
00db10
--- a/sysdeps/unix/sysv/linux/s390/gettimeofday.c
00db10
+++ b/sysdeps/unix/sysv/linux/s390/gettimeofday.c
00db10
@@ -28,9 +28,7 @@
00db10
    Returns 0 on success, -1 on errors.  */
00db10
 
00db10
 int
00db10
-__gettimeofday (tv, tz)
00db10
-     struct timeval *tv;
00db10
-     struct timezone *tz;
00db10
+__gettimeofday (struct timeval *tv, struct timezone *tz)
00db10
 {
00db10
   return INLINE_VSYSCALL (gettimeofday, 2, tv, tz);
00db10
 }