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

00db10
Introduce prototype-style function definitions to rtkaio (which is not
00db10
upstream).
00db10
00db10
diff --git a/rtkaio/sysdeps/unix/sysv/linux/kaio_cancel.c b/rtkaio/sysdeps/unix/sysv/linux/kaio_cancel.c
00db10
index 018ccb6941d49e26..a531f7d5047860b8 100644
00db10
--- a/rtkaio/sysdeps/unix/sysv/linux/kaio_cancel.c
00db10
+++ b/rtkaio/sysdeps/unix/sysv/linux/kaio_cancel.c
00db10
@@ -42,9 +42,7 @@
00db10
 #include <errno.h>
00db10
 
00db10
 int
00db10
-aio_cancel (fildes, aiocbp)
00db10
-     int fildes;
00db10
-     struct aiocb *aiocbp;
00db10
+aio_cancel (int fildes, struct aiocb *aiocbp)
00db10
 {
00db10
   struct requestlist *req = NULL;
00db10
   int result = AIO_ALLDONE;
00db10
diff --git a/rtkaio/sysdeps/unix/sysv/linux/kaio_error.c b/rtkaio/sysdeps/unix/sysv/linux/kaio_error.c
00db10
index 23859c363a42bfc2..bc582cd3395b622e 100644
00db10
--- a/rtkaio/sysdeps/unix/sysv/linux/kaio_error.c
00db10
+++ b/rtkaio/sysdeps/unix/sysv/linux/kaio_error.c
00db10
@@ -37,8 +37,7 @@
00db10
 #include <errno.h>
00db10
 
00db10
 int
00db10
-aio_error (aiocbp)
00db10
-     const struct aiocb *aiocbp;
00db10
+aio_error (const struct aiocb *aiocbp)
00db10
 {
00db10
   int ret = aiocbp->__error_code;
00db10
 
00db10
diff --git a/rtkaio/sysdeps/unix/sysv/linux/kaio_return.c b/rtkaio/sysdeps/unix/sysv/linux/kaio_return.c
00db10
index 1d9f6cbabb8436e1..9d052d47b6f6b4b5 100644
00db10
--- a/rtkaio/sysdeps/unix/sysv/linux/kaio_return.c
00db10
+++ b/rtkaio/sysdeps/unix/sysv/linux/kaio_return.c
00db10
@@ -38,8 +38,7 @@
00db10
 #include <errno.h>
00db10
 
00db10
 ssize_t
00db10
-aio_return (aiocbp)
00db10
-     struct aiocb *aiocbp;
00db10
+aio_return (struct aiocb *aiocbp)
00db10
 {
00db10
   if (aiocbp->__error_code == EINPROGRESS)
00db10
     __aio_read_one_event ();
00db10
diff --git a/rtkaio/sysdeps/unix/sysv/linux/kaio_suspend.c b/rtkaio/sysdeps/unix/sysv/linux/kaio_suspend.c
00db10
index 6c7b59c6fb0783b5..011393ea4c311d79 100644
00db10
--- a/rtkaio/sysdeps/unix/sysv/linux/kaio_suspend.c
00db10
+++ b/rtkaio/sysdeps/unix/sysv/linux/kaio_suspend.c
00db10
@@ -102,10 +102,8 @@ cleanup (void *arg)
00db10
 
00db10
 
00db10
 int
00db10
-aio_suspend (list, nent, timeout)
00db10
-     const struct aiocb *const list[];
00db10
-     int nent;
00db10
-     const struct timespec *timeout;
00db10
+aio_suspend (const struct aiocb *const list[], int nent,
00db10
+	     const struct timespec *timeout)
00db10
 {
00db10
   if (__builtin_expect (nent < 0, 0))
00db10
     {