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

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