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