Blame SOURCES/glibc-rh1505492-prototypes-gettimeofday.patch

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